Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can adopt classic MC workflows for MC2 EJM by adding a set of task parameters. Each process in MC2 EJM has inbound and outbound parameters.

Inbound Parameters

DataFrom

The DataFrom parameter enables EJM to retrieve files from previous processes or data events.

...

By default the parameter has a value of ALL.

FileFilter

The  FileFilterparameter enables you to filter inbound files by mask. If there is a Data artifact in the workflow, set this parameter with the same value as the data artifact FileMask field.

For example, in the illustration below, the  data data task with the artifact, where the FileFilter is mc2_mock6.

Outbound Parameters

ResultFrom

The ResultFrom parameter is used to control which files 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.