...
...
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
If this step is not performed, the processor will continue processing file even if the status in msgcenter_dbo.msg_message_stat and msgcenter_dbo.tasks tables was updated. |
Cancel a EJM Process
For RTR for Cancel EJM Process the following parameters are available:
ActionType = ‘CANCEL’ (required)
StreamName = the name of stream, where cancel steps for EJM process will be implemented (required). The exact stream name will be known when the development is complete
CancelCorrelationId = Correlation Id of EJM process to cancel (required)
CancelStreams = 1 or skipped (optional). If 1, underlying streams executed under EJM process will be cancelled too.
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
The cancel steps for EJM process include all steps for cancel single stream and one additional step – sending trigger to task reporter in order to EJM process can finish correctly
|
Cancel an Entire Workflow
For RTR for Cancel Entire Workflow the following parameters are available:
ActionType = ‘CANCEL’ (required)
StreamName = ‘eagle_ml-2-0_default_cm_execwkfl’ (required)
CancelWorkflowName = The name of workflow to cancel (required)
CancelCorrelationId = Correlation Id of workflow instance to cancel (optional). If empty, all instances of CancelWorkflowName will be cancelled
CancelEvents = 1 or skipped (optional). If 1, all events for CancelWorkflowName will be cancelled
CancelStreams = 1 or skipped (optional). If 1, underlying streams executed under steps of CancelWorkflowName will be cancelled too.
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
or
|
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
The cancel steps for entire workflow include steps #1-5 for updating workflow specific features such as statuses in ORCH tables, processing and global events, etc. These steps are already implemented in EagleML and can be executed via sending RTR with ActionType – CANCEL, specified CancelWorkflowName and CancelCorrelationId. Also cancel steps for entire workflow include all steps for cancel EJM process (steps #6.a-6.c)
|
Cancel a Workflow Substep
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Before canceling a workflow substep the workflow should be paused and after that should be an opportunity to resume workflow. The steps for pause/resume workflow is described in the next chapter. The cancel steps for workflow substep include steps #1-5 for updating workflow specific features such as statuses in ORCH tables, processing and global events, etc. These steps are near the same as for cancel entire workflow, but not implemented in EagleML yet. Also cancel steps for workflow substep include all steps for cancel EJM process (steps #6.a-6.c)
|
Pause a Workflow
For RTR for Pause Workflow the following parameters are available:
ActionType = ‘PAUSE’ (required)
StreamName = ‘eagle_ml-2-0_default_cm_execwkfl’ (required)
PauseWorkflowName = The name of workflow to pause (required)
PauseCorrelationId = Correlation Id of workflow instance to pause (optional). If empty, all instances of PauseWorkflowName will be paused.
You can set the following parameters for PAUSE:
RETRY_CHECK_WORKFLOW_PAUSED is w_custom_config parameter to set count of cycle
RetryCheckWorkflowPaused is RTR parameter to set count of cycle
W_PROCESS_TIMEOUT is w_custom_config parameter to set time of waiting of changing Pause Status
ProcessTimeout is RTR parameter to set time of waiting of changing Pause Status
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Resume a Workflow
For RTR for Resume Workflow the following parameters are available:
ActionType = ‘RESUME’ (required)
StreamName = ‘eagle_ml-2-0_default_cm_execwkfl’ (required)
ResumeWorkflowName = The name of workflow to resume (required)
ResumeCorrelationId = Correlation Id of workflow instance to resume (optional). If empty, all instances of ResumeWorkflowName will be paused.
Expand | |||||
---|---|---|---|---|---|
| |||||
|