You are viewing limited content. For full access, please sign in.

Question

Question

Retrieve Workflow Self Instance ID

asked on April 9, 2014

Seems like there's no global token for workflow instance ID.

 

Is there some way (SDK activity or so) to retrieve this information within the workflow?

1 0

Answer

SELECTED ANSWER
replied on April 9, 2014

You can use a script to get it using WorkflowAPI.InstanceId.

Alternatively you could use pattern matching to parse it out of %(Instance URL)

1 0

Replies

replied on April 9, 2014

Works indeed with regular expression:

 

 ^.*/(.*)/.*$

 

...applied to %(Instance URL)

 

Thanks Matt !

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.