Versions Compared

Key

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

By default, the MC2 EJM workflow is completed with success status of SUCCESS if no errors occur during main process execution occur, otherwise status will be failed. Otherwise the status is FAILED.

For a process which return that returns some data, this behavior result is uselessnot useful. To add more control under to the final status, the WRFStatusMode parameter is has been added.

The WRFStatusMode parameter can change the behavior for the final status calculation.

Current The current MC2 EJM version supports “DATA” DATA value only.

If WRFStatusMode=DATA, the status will be is calculated based on the ResultFrom parameter from the main process(, which can be set using setParam shape in IWS). If any of processes process from the ResultFrom parameter are failed has an error, the status will be is FAILED. If no result files are found in processes from ResultFrom parameter, the status will be is NO_DATA. If result files are found, the status will be is SUCCESS.