dump workflow()

This function creates a dump with information about the workflow job a and returns it as return value of the function.

If the specified workflow job is no longer running, the return value is an empty string ("").

Parameters


Parameter

Description

a

Name (see VAR_SYS_WF_DISPLAYNAME) or ID (see VAR_SYS_WF_ID) of the workflow job to be dumped.

b

(optional) If true, the dump is also written to the job log. Default: false.

Example


Dump of workflow:
MyWorkflow 1628153554293
Started at: Thu Aug 05 10:52:35 CEST 2021
State: State_2
ID: -3f7c4b95:17b1529534e:24f1.f68e54dbd8e9959f:-3f7c4b95:17b15294335:-8000
Variables:
VAR_SENDER=admin
VAR_SYS_WF_ID=-3f7c4b95:17b1529534e:24f1.f68e54dbd8e9959f:-3f7c4b95:17b15294335:-8000
VAR_SYS_WF_LINK=
VAR_NEW_1=
VAR_NEW_2=123
VAR_SYS_WF_ACCESSLIST=
VAR_SYS_WF_DISPLAYNAME=MyWorkflow 1628153554293
VAR_SYS_WF_STATE=State_2