All Products
Search
Document Center

Microservices Engine:Workflow management

Last Updated:Dec 04, 2025

SchedulerX supports task orchestration across applications. You can arrange tasks from the same or different applications into a single workflow based on their execution logic.

Create a workflow

  1. Log on to the MSE SchedulerX console.

  2. In the top menu bar, select a region.

  3. In the left navigation pane, click Workflows.

  4. On the Workflows page, select the target namespace and click Create workflow.

  5. In the Createworkflow pane, set configuration items such as Name, Description, Application ID, and Time type, and then click Confirm.

    Note

    Currently, workflow scheduling supports only cron expressions as the time type.

    In the Advanced Configuration area, you can also set Time zone, Calendar, and Task concurrency.

Create a task

  1. On the Workflows page, select an existing workflow and click Edit to go to the workflow details page.

  2. Click Create Task and configure the parameters in the Create Task pane. The task is then added to the workflow and can be viewed on the Tasks page.

Import a task

  1. On the Workflows page, select an existing workflow and click Edit to go to the workflow details page.

  2. On the workflow details page, click Import tasks. From the Application drop-down list, select an application. Then, click Import in the Operation column for the desired task. The application for the current workflow is selected by default.

Task orchestration

Add a dependency

To add a dependency, drag your mouse to draw a line between nodes.

Example 1: Node 619 is the upstream node for 620. After node 619 completes, node 620 starts.

image.png

Example 2: After node 101 completes, nodes 102 and 103 start at the same time. Node 107 starts only after nodes 104, 105, and 106 all complete successfully.

image.png

Delete a dependency

Two methods are available:

  • Select a workflow line and press the Delete key.

  • Right-click a workflow line and click Remove.

Edit or delete a Job

You can right-click a workflow node and select Edit or Remove.

Save and run a workflow

After completing the workflow editing, click Save the workflow. If you don't need to activate it immediately, you can go to the Workflows page, click Run once to test it, and then click Enable after confirming there are no issues.

Manage workflows

View the workflow instance graph

  1. On the Workflows page, in the Operation column, click More > History to view the workflow execution history.

  2. In the Workflow Instance Records pane, click an ID in the Instance ID/Workflow Instance Graph column to view the running status of all nodes in the workflow.

Stop

  1. On the Workflows page, in the Operation column, click More > History.

  2. In the Process instance records pane, click Stop. This action forcibly stops all running nodes in the workflow, and the workflow status changes to failed.

Rerun

Rerun a workflow

You can rerun failed workflows.

  1. On the Workflows page, in the Operation column, click More > History.

  2. In the Process instance records pane, click More > Rerun to rerun all failed nodes in the workflow. The status of the workflow then changes to running.

Rerun a node

  1. On the Workflows page, in the Operation column, click More > History.

  2. In the Process instance records pane, click Details to view the workflow instance details.

  3. Right-click the target node and select one of the following options:

    • Rerun current jobs and dependent jobs: Reruns the current node and all its descendant nodes.

    • Run again: Reruns only the current node, not its descendant nodes.

  4. In the confirmation dialog box that appears, click OK. The relevant workflow nodes are rerun.

Pause

You can pause running workflows.

  1. On the Workflows page, in the Operation column, click More > History.

  2. In the Process instance records pane, click suspend. The system waits for the currently running nodes to complete, but subsequent nodes will not run. The workflow enters a paused state.

Resume

You can resume paused workflows.

  1. On the Workflows page, in the Operation column, click More > History.

  2. In the Process instance records pane, click Cancel Pause to resume the execution of the descendant nodes.

Skip

In a workflow, if a node has not started running, you can skip it. The workflow automatically proceeds to the next node.

  1. On the Workflows page, in the Operation column, click More > History to view the execution history.

  2. In the Process instance records pane, click Details to view the workflow instance details. On the Workflow Instance Details page, select a node and click skip.

Unskip

You can unskip a node to resume its execution, provided its descendant nodes have not started running.

  1. On the Workflows page, in the Operation column, click More > History to view the workflow's execution history.

  2. In the Process instance records pane, click Details to view the workflow instance details. On the Workflow Instance Details page, select a node and click Cancel Skip.

Import and export workflows

Workflows must be manually synchronized between different regions or namespaces.

Export a workflow

  1. On the Workflows page, select an application from the Select an application drop-down list. Select the checkboxes for the workflows that you want to export. If you do not select any workflows, all workflows for the application are exported. Click Export workflow.

  2. In the dialog box, select the application ID, confirm the workflow information for export, and click OK.

Import a workflow

On the Workflows page, click Import workflow, upload the workflow file, and then click OK.

Important

Before you import a workflow, you must import its associated tasks. The application ID of the workflow to be imported must be the same as the application ID of the exported workflow. For more information about importing tasks, see Import or export a job.