Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
