Parsing Data from one command to other in WFA
2019-03-15 02:03 PM
I'm trying to parse data from one command to other in WFA(logging into a server and want to pass the session ID to next command). Any possibilities? If so please respond.
1 REPLY 1
Re: Parsing Data from one command to other in WFA
2019-03-18 08:23 PM
It the command that creates your session you can add:
Add-WfaWorkflowParameter -Name "SessionID" -Value $sessionId -AddAsReturnParameter $True
In the subsequent command in the workflow you can enumerate the return paramater value:
$sessionID = Get-WfaWorkflowParameter -Name "SessionId"
You can also variablize the return parameter names as inputs to your command (if used within a repeat row). See:
Hope that helps
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.