Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Re: Workflow and script names as variables inside workflow?

$
0
0

For workflows, you can use one of these:

 

System.log("Root workflow name: " + workflow.rootWorkflow.name);
System.log("Current workflow name: " + workflow.currentWorkflow.name);

 

For scripting actions, try the following (note: this is a bit low-level, implementation-specific code that may change in future versions)

 

var actionName = arguments.callee.name.substr(6);
System.log("Currently running action: " + this.name + "." + actionName);

Viewing all articles
Browse latest Browse all 219257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>