Script Function: Continues a particular workflowAn object of the Automation Engine that can include several executable objects and which runs them in a specified order. [Formerly called "ProcessFlow" and "JobPlan."].
RERUN_UC_OBJECT(RunID)
Syntax |
Description/Format |
---|---|
The RunID of the workflow whose tasks should be continued. |
Return code |
---|
12113 - The specified taskAn executable object that is running. Tasks are also referred to as activities. is not a workflow. You can only rerunAfter you rollback part(s) of a workflow, we'll provide the ability to re-run, i.e. to start from those tasks that have been successfully rolled back or not yet executed. in a workflow. 20282 - The objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task with this RunID could not be found. |
"Continue" is a specific procedure that can be used for active workflow and has to with the Rollback feature. By continuing a workflow, you restartA restart refers to the repetition of an object's execution. This action differs from a new start in some parts. all its childA subordinate task (such as a task that runs in a workflow). tasks that have the statusThis represents the condition of a task (such as active, blocked, generating). ENDED_ROLLBACKED, ENDED_ROLLBACK_EMPTY and / or "Waiting for rollback.
The following example retrieves the status of a jobAn Automation Engine object type for a process that runs on a target system.. If this status is 1904 (ENDED_ROLLBACKED), the workflow to which the job belongs will continue.
:SET &RET# = GET_UC_OBJECT_STATUS(, &RUNID#, "STATUS")
:IF &RET# = 1904
:SET &PARENT# = GET_PARENT_NR(&RUNID#)
:SET &RB# = RERUN_UC_OBJECT(&PARENT#)
:ENDIF
See also:
Script Element | Description |
---|---|
ROLLBACK_UC_OBJECT | Rolls back a particular task. |
Script Element - Data Sequences
About Scripts
Script Element - Alphabetical Order
Script Element - Ordered by Function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |