Workflow Manager
Workflow Manager is an infrequently used GUI through which you can:
- Edit runtime properties during the troubleshooting of workflows.
- Execute a workflow as part of troubleshooting.
- Cancel an active workflow as a last resort to solve a problem.
- Browse the status of running workflows.
- Display the progress information of the work items inside a workflow.
- Reconfigure the event adapter (dynamically).
- Reload the workflow library (dynamically).
- Reconfigure the workflow engine (dynamically).
To use Workflow Manager, you input all runtime attributes shown in a screen and then execute the workflow. The results are not forwarded to the SDX directory or any other SDX component. Execution control returns a result to Workflow Manager only.
Workflow Manager GUI
Figure 69 shows Workflow Manager functional interfaces. Although Workflow Manager is capable of starting a workflow, it is designed for administering the workflow engine in exceptional situations, such as troubleshooting and cancelling workflows.
![]()
Library Tab
Workflow Manager displays in the Library tab all workflows that you can execute. To execute a workflow, highlight one workflow name, fill in its attributes in the table, and click the Execute Workflow button.
![]()
After a workflow is successfully started, the workflow engine assigns a workflow ID (number) to the workflow instance, and a message box pops up to display it.
Execution Control Tab
Use the Workflow ID to perform any operations related to that workflow, such as checking its status and cancelling it. These operations are available in the Execution Control tab.
![]()
You can perform the following three procedures by using the buttons on the Execution Control tab.
Viewing Workflow Details
To view details on an active workflow:
The information about a workflow state is displayed in the Workflow State Data table.
Canceling Workflows
The specified workflow is canceled, but no message is displayed.
Viewing Workflow Progress
To view the progress of a workflow or inspect a workflow:
The list of executing work items is displayed in the Executing Work Items list box, and the list of terminated work items is displayed in the Terminated Work Items list box.
NOTE: You can check the progress of a workflow that has already been completed or even canceled, in addition to an active workflow.
Maintenance Tab
Use the Maintenance tab to pause the workflow engine so that the workflow configuration or workflow library can be reloaded or reconfigured. After the library is reloaded or reconfigured, click Resume Engine to start the workflow.
![]()
Use the buttons on the Maintenance tab to perform the following procedures.
Pausing and Resuming Workflow
To pause and then resume an active workflow:
- To stop the workflow engine, click Pause Engine. Workflow requests are still accepted, but no workflows are started.
- To resume processing workflows, click Resume Engine. The active workflows continue to execute. The workflow requests received while the workflow engine was stopped are processed.
Reconfiguring the Workflow Engine
To reconfigure the workflow engine:
- Click Pause Engine to stop the workflow engine.
- Enter the new configuration information.
- Click Reconfigure Engine.
- Click Resume Engine.
Reconfiguring an Event Adapter
To reconfigure an event adapter:
- Click Pause Engine to stop the workflow engine.
- Enter the new event adapter settings.
- Click Reconfigure Adapters.
- Click Resume Engine.
Reloading a Workflow
- Click Pause Engine to stop the workflow engine.
- Perform modifications in the workflow library (add workflows to a JAR file, or add a workflow to the SDX directory).
- Click Reload Workflows.
- Click Resume Engine.
Using the Workflow Probe
probe [-d <output directory> | -we <workflow id> | -wc <workflow id>] <log file name>
- <log file name>—Path of the execution log, usually located in the /opt/UMC/var/log directory and named wfexec.log.
The three mutually exclusive options specify:
- -d <output directory>—Output directory for the statistics. Two files are created, named wistat.csv and wfstat.csv. They are both in the comma-separated values format. Wistat.csv contains statistics on the work item's performance organized by work item name, work item type, and the workflow to which they belong. Wfstat.csv contains the statistics on the workflow's performance organized by workflow name. If not specified, assume the current directory as the output.
- -we <workflow id>—Prints a list of the work items that are currently executing in the given workflow, one work item per line.
- -wc <workflow id>—Prints a list of the work items that have already been completed in the given workflow, one work item per line.
Table 73 shows the layout of the wfstat.csv file.
Table 74 shows the layout of the wistat.csv file.