Task: Edit Workflow Monitor
The module provides functions to modify the monitor of a workflow. Breakpoints can be set, monitor jobs be added (with predecessors only), tasks set to inactive and comments append to task statistic records
Designation
- Name
- te.WorkflowMonitorEdit
- Aliases
- WorkflowModifyMonitor
Configuration
- Optionen
- Test mode (
test-mode
) - Activates a simulation mode
- b4A script variable (
command-vara
) - A variable object containing commands to execute
- b4A script file (
command-file
) - Name of a file containing the commands to execute
Description
To make changes to a workflow monitor, either the AE script functions or best4Automic can be used. In contrast to AE-Script, the module determines whether the workflow monitor needs to be stopped when the list of commands is reviewed. This means that a workflow is only stopped if it is really necessary. This distinction cannot be made with the AE script function modify_task. Furthermore, functions are provided that go beyond the possibilities offered by AE script.
The commands of this module are passed as b4A Script. The following commands are provided by the module:
- set_breakpoint( <task name>, <consecutive number> )
- set_breakpoint_by_runid( <RunID> )
- release_breakpoint( <task name>, <running number> )
- release_breakpoint_by_runid( <RunID> )
- set_task_inactive( <task name>, <running number> )
- set_task_inactive_by_runid( <RunID> )
- set_task_inactive_by_alias( <task_alias> )
- set_task_active( <task name>, <running number> )
- set_task_active_by_runid( <RunID> )
- set_task_active_by_alias( <task_alias> )
- start_task_immediately( <task name>, <running number> )
- start_task_immediately_by_runid( <RunID> )
- add_comment( <task name>, <running number>, <comment> )
- add_comment_by_runid( <RunID>, <comment> )
- add_monitor( <task name>, <running number>, <monitor task>, <monitor alias>, <other run> )
A description of the format of b4A script commands can be found in the section here.