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:
 
https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/WFA-Return-parameters-from-a-repeated-row/td-p/142696
 
Hope that helps
 
/Matt
					
				
			
			
				
	If this post resolved your issue, help others by selecting  ACCEPT AS SOLUTION or adding a KUDO.