Genpact Cora Knowledge Center

Support

InMemory Execution

Starting with V10.0, Cora SeQuence has been renamed to Cora Orchestration.

V10.6

Overview

Define a workflow as InMemory when you don't want to save the operation's details to the database. You can use an InMemory type of "black box" workflow as part of a larger process, such as a sub workflow that calculates the score of a loan request. The calculation's results might be important to the overall process, but might not be important to track the intermediate steps inside the workflow during execution. 

If you configure your environment with the diagnostics feature, a trace file, SVC file, is created for the workflow's execution.

Set the workflow to run in InMemory mode

  1. Open the workflow in the App Studio, and click the workflow canvas. 
  2. In the Properties pane, under Execution>Persistence Mode, select InMemory.

InMemory limitations

Not all activities support InMemory mode. To verify that the activities in a workflow support InMemory mode, access the workflow, and from the top ribbon, click Validate. If you set the workflow to InMemory, a warning message appears for unsupported activities.

Activities that do not support InMemory persistence mode

Activity  Does it support InMemory execution?
Human activities (all) No
File activities Yes (from V10.6 onwards)
  • Get File
  • Get File Info
  • Put File
  • Delete File
  • Create Folder
No
  • File Listener
  • File Writer
Database Listener activity No
SharePoint Listener activity No
Sub Workflow activity No
Email Listener activity No
CRM Lister activity No
Built-In Command activity Yes (from V8.6.2 onwards)
Data activities (all) Yes (from V8.6 onwards)

Enable diagnostics

In the web.config file for the environment from where you are running the process, add the following service to the <sequence.engine>  > <services> section.

You can configure the following properties.

  • traceDirectory: directory where the SVC file is created. The default value is the current user's Temp directory.
  • traceLimit: maximum number of trace files. The default value is 1,000.
<add type="PNMsoft.Sequence.Runtime.Diagnostics.WorkflowExecutionDiagnosticsService, PNMsoft.Sequence.Runtime.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=0a1a1b90c1c5dca1" traceDirectory="path to traces directory" traceLimit="#" />

V8.2-V10.5

Overview

Define a workflow as InMemory when you do not want to save the operation's details to the database. You can use this type of "black box" workflow as part of a larger process, such as a sub-workflow that calculates the score of a loan request. The calculation's results might be important to the overall process, but might not be important to track the intermediate steps inside the workflow during execution. 

If you configure your environment with the diagnostics feature, a trace file, SVC file, is created for the workflow's execution.

Set the workflow to run in InMemory mode

  1. Open the workflow in the App Studio, click the workflow canvas. 
  2. In the Properties pane, under Execution>Persistence Mode, select InMemory.

InMemory limitations

Not all activities support InMemory mode. To verify that the activities in a workflow support InMemory mode, access the workflow, and from the top ribbon, click Validate. If you set the workflow to InMemory, a warning message appears for unsupported activities.

Activities that do not support InMemory persistence mode

Activity  Does it support InMemory execution?
Human activities (all) No
File activities (all) No
Email activities (all) No
Database Listener activity No
SharePoint Listener activity No
Sub Workflow activity No
Email Listener activity No
CRM Lister activity No
Built-In Command activity Yes. Starting with V8.6.2
Data activities (all) Yes. Starting with V8.6 

Enable diagnostics

In the web.config file for the environment from where you are running the process, add the following service to the <sequence.engine>  > <services> section.

You can configure the following properties.

  • traceDirectory: directory where the SVC file is created. The default value is the current user's Temp directory.
  • traceLimit: maximum number of trace files. The default value is 1,000.
<add type="PNMsoft.Sequence.Runtime.Diagnostics.WorkflowExecutionDiagnosticsService, PNMsoft.Sequence.Runtime.Diagnostics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=0a1a1b90c1c5dca1" traceDirectory="path to traces directory" traceLimit="#" />