...
Table of Contents maxLevel 23 minLevel 2
Current version of IWS doesn’t fully support MC2 workflows due to MC2 workflows use completely different file/data exchange model between tasks/processes. However, you can adopt classic MC workflows for MC2 EJM by adding a set of task parameters.
...
Inbound Parameters
DataFrom
This The DataFrom parameter tells enables EJM where to retrieve files . EJM can retrieve files from from previous processes or data events.-
- To get files from all prior processes we should pass “ALL” value. DataFrom=ALL
...
- To get files from current process(originating) we should pass “PROCESS” value. DataFrom=PROCESS. In this case internal param_InFiles will be used as incoming files.
...
- To get files from a certain process we should specify TASK_[process name]
For example, in my_process1 sub-process in the workflow, to get the sub-process result files specify:
DataFrom=TASK_my_process1
It is possible to specify a set of sub-processes by specifying them separated by comma:
DataFrom=TASK_my_process1,TASK_my_process3,TASK_my_process78
- To get retrieve files from data event we should , specify EVENT_[event(process) name]E.g. we have my. For example, in my_process1 sub-process with an attached Data artifact in workflow, to get retrieve the event files we should specify:
DataFrom=EVENT_my_process1
It is possible to get event and sub-process files. E.g. For example:
DataFrom=TASK_my_process1,EVENT_my_process3
Moreover, the DataFrom value can be an expression. E.g. we would like For example, to get current process files if they are present, otherwise or data event files:
DataFrom=EXPR#iif(StringLength(:param_InFiles:) = 0,'EVENT_generic_load_unpacker','PROCESS').
By default the parameter has a value “ALL”of ALL.
FileFilter
...
The FileFilterparameter enables you to filter inbound files by mask. If we have there is a Data artifact in the workflow, we have to set this parameter with the same value as the data artifact FileMask field has.E.g. we have the following data . For example, in the illustration below, the
data task with the artifact
FileFilter=, where the FileFilter is mc2_mock6 .
Outbound Parameters
ResultFrom
The ResultFrom parameter is used to control which files should be are populated to result files parameter
Possible values:
- ALL – EJM
...
- collect outgoing files from all prior executed tasks in current process.
- EVENT_[data event name] – EJM
...
- gets file from Data Event with given name.
- TASK_[process name] – EJM
...
- gets outgoing files from task/sub-process with given name.
...
- It is possible to
...
- have multiple values separated by comma.
...
- For example, you can pass files from
...
- two or more tasks
...
- such as ResultFrom=TASK_task1,TASK_task2
...
- . The ResultFrom value can be expression as well.
...
- By default the parameter has a value
...
- of ALL.