Skip to main content

Process Executor

Description

Process Executor is a step in the Flow Plugin for Process Studio Workflows. The process executor executes a Process Studio process. By default, the process is executed once for each input row from the workflow. This row can be used to set parameters and variables and it is passed to the process in the form of a result row. A group of records can also be passed based on the value in a field (The process is executed when the value changes) or on time. In these cases, the first row of the group or rows is used to set parameters or variables in the process.

Configurations

No.Field NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2WorkflowUse this section to specify the process to execute. You have the following options to specify the process:

- Use a file for the process: when this option is enabled, you can enter the the .psw file that is to be used as process. The filename may contain variables (for example, you can use the built-in Internal.Workflow.Filename.Directory variable to construct a filename relative to the current workflow), or you can use the "Browse" button to select a file using a file browser.

- Use a process from the repository: This option is available when connected to a repository. When enabled, you can enter the name and the repository path in the two fields corresponding to this option. Alternatively you can use the "Select" button to browse the repository and point to the workflow stored in the repository. This feature is currently not enabled.

- Repository by reference: This feature is currently not enabled.

- The following two buttons in this section makes it easier to work with the process:

- New process: create a new workflow to be used. The new process will be opened in a new tab.

- Edit process: open the currently selected process in a new tab so you can edit it.

Parameters Tab:Specify which field to use to set a certain parameter or variable value. If multiple rows are passed to the process, the first row is taken to set the parameters or variables.
1Variable / Parameter nameThe Parameters tab allows you to define or pass stream fields as variables down to the Process Studio process.
2Field to useSpecify which field to use to set a certain parameter or variable value. If you specify an input field to use, the static input value is not used.
3Static input valueInstead of a field to use you can specify a static value here.
4Inherit all variables from the workflow?Select check box, to pass all workflow parameters to the specified child process in the step.
5Button: Get parametersClick this button to get all the parameters of the workflow in the Variable / Parameter name column.
Row grouping Tab:specify the amount of input rows that are passed to the workflow in the form of result rows. You can use the result rows in a Get rows from result step in a workflow.
1The number of rows to send to the workflowSpecify a number say X. After every X rows the process will be executed and these X rows will be passed to the process.
2Field to group rows onRows will be accumulated in a group as long as the field value stays the same. If the value changes the process will be executed and the accumulated rows will be passed to the process.
3The time to wait collecting rows before executionThis is the maximum time in Milliseconds the step will spend accumulating rows prior to the execution of the process.
Execution results Tab:
1The target steps for the execution resultsChoose the target step for the execution results from a drop down list
2Fieldname of the execution time(ms)Enter the fieldname to store the execution time(ms)
3Fieldname of the ExecutionResultEnter the fieldname to store the ExecutionResult
4Fieldname of the number of errorsEnter the fieldname to store the number of errors
5Fieldname of the number of rows readEnter the fieldname to store the number of rows read
6Fieldname of the number of rows writtenEnter the fieldname to store the number of rows written
7Fieldname of the number of rows inputEnter the fieldname to store the number of rows input
8Fieldname of the number of rows outputEnter the fieldname to store the number of rows output
9Fieldname of the number of rows rejectedEnter the fieldname to store the number of rows rejected
10Fieldname of the number of rows updatedEnter the fieldname to store the number of rows updated
11Fieldname of the number of rows deletedEnter the fieldname to store the number of rows deleted
12Fieldname of the number of rows retrievedEnter the fieldname to store the number of rows retrieved
13Fieldname of the exit statusEnter the fieldname to store the exit status
14Fieldname of the execution logging textEnter the fieldname to store the execution logging text
15Fieldname of the log channel IDEnter the fieldname to store the log channel ID
Result rows Tab:
1The target step for the result rowsThe target step for the result rows in the parent workflow.
Expected Layout of result rows:
1Field nameNames of the fields that are part of the result.
2Data typeType of data.
3LengthFor Number: Total number of significant figures in a number; For String: total length of string; For Date: length of printed output of the string.
4PrecisionFor Number: Number of floating point digits; For String, Date, Boolean: unused.
Result files Tab:
1The step to send the result files information toChoose the step to send the result files information to from the drop down list.
2The result filename fieldThe fieldname to store the result filename
Common
1Checkbox: On error execute only error path.

Note: This option is only available Process Studio 5.6.0 onwards.

Enable checkbox to execute only the step connected with ‘Error Handling of step’ path in the workflow.

By default if you leave this checkbox unchecked all the steps following this step in the workflow, connected with any of the below options are excuted.

2HelpClick Help for a description of plugin step configuration details,
3Button: OKOn click of this button. It will check the field values. If any required field values are missing then it will display validation error message. If all the required field values are provided then it will save the field values.
4Button: CancelOn click of this button, it will cancel the window and do not save any values