Active IQ Unified Manager Discussions
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.
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