CarlLink
Contributor
Contributor

vRO 8.1: set WorkflowToken name

I have a need to set the name field on a workflow token.  I want to set it to something like <vmName> - <workflowName>  instead of the default <workflowName>.  This REALLY helps to find all the workflow runs that were involved in a vRA provision.  I just can't see any way to do it.  I know SovLabs can do it but was wondering if there is a native way to set the name.  Seems like a fairly useful thing to do.

Thanks

Carl L.

Tags (2)
0 Kudos
3 Replies
xian_
Expert
Expert

With Nested Workflow you can do it, by defining __tokenName as an input of your WF:

tokenName.png

0 Kudos
CarlLink
Contributor
Contributor

Cool but ...

not sure how I would set that from vRA.  Anyone know how to set it after the fact instead of on the inputs? That is, set it from a scripted task in the workflow itself.

Thanks again,

Carl L.

0 Kudos
carl1
Expert
Expert

0 Kudos