Workflow id and Task Id , how to get these informations as variables in workflow designer , we look for ION API ? but no API available. Thanks for any help
The workflow ID can be retrieved within the workflow builder by using a Set parameter activity. You need to put it into an integer type parameter.
From the set parameter activity when integer parameter and type Expression has been selected:
Specify an arithmetic expression or use one of these operators to get workflow information:
ID() to get the workflow instance ID
MAJORVERSION() to get the major version of the workflow definition
MINORVERSION() to get the minor version of the workflow definition
Use square brackets for parameter placeholders
For a task ID you cannot retireve it this way as it relates only to a specific task. However if you need it within a drillback to drill back to a form, then you can get it within the "Drillback builder" to put into one of the drillback parameters.
Did this answer your question?
In reply to Mads Stenbye: