Subscribe
Accepted Solution

Is it possible to capture the userid of the person executing a workflow as an input parameter?

Hi there,

 

I currently have a workflow that allows our admin team to restore VM datastores by creating a flexclone of the NAS datastore and mounting it in the ESX cluster.  I would like to start keeping track of who is performing the restores so that they can be properly followed up on for cleanup.  Is it possible to capture who is executing the workflow as an input parameter that I can put in a database in order to schedule daily reminders to cleanup?

Re: Is it possible to capture the userid of the person executing a workflow as an input parameter?

Yes. Check out the 'Send Email' Command in WFA. In that command they call 'Get-WfaRestParameter "userName"'

Re: Is it possible to capture the userid of the person executing a workflow as an input parameter?

Thanks for the tip!! This is very useful.