Skip to main content

Data Source ID and Execution Instance ID


Sometimes it is necessary to know which record triggered the current workflow instance, when it was triggered, and who triggered it. Such information can be obtained from the data source ID and execution instance ID in the nodes.

Data Source ID

The data source ID consists of three parts of information: the ID of the record that triggered the workflow, the user ID of the triggering person, and the triggering timestamp.

:::

Not all workflow execution instances contain all three parts of information, for example, for timed triggered workflows, whether or not they are triggered has nothing to do with the record, so the record ID is not included in the data source ID, only the last two parts.

:::

  • ID of the record that triggered the workflow

    How to view record ID (rowid)

  • User ID of the triggering person

    For example, if Ming adds a new record that triggers the workflow, the user ID of the triggering person is Ming's user ID in the system.

    The organization admins can export the organization members in the management page, and there is a user ID column in the Excel file.

    If the workflow is triggered by API, workflow, submitting a record or updating a record in a public form, the user IDs of the triggering person are user-api,user-workflow,user-publicform.

  • Triggering timestamp

    The triggering timestamp of the current workflow instance.

Execution Instance ID

As shown in the figure below, each row represents a triggering instance of the workflow with a corresponding instance ID, through which you can view the execution details.

The execution instance ID is a string of numbers in the format of 62c7ff5837a28b63af673b05. After getting the instance ID, go to the configuration page of the workflow, and in the address bar, type

/2/instanceID

Press Enter to get the instance execution details.


Have questions about this article? Send us feedback