Active IQ Unified Manager Discussions

how can I save a WFA parameter created with "Add-WfaWorkflowParameter"

marcusgross
1,943 Views

Hi,

 

how can I save a WFA parameter created with "Add-WfaWorkflowParameter" 

to a constant that is created in the Workflows constants tab?

 

 

Marcus

1 REPLY 1

sinhaa
1,940 Views

@marcusgross

 

 

 

You must know that the powershell cmdlet Add-WfaWorkflowParameter is used to save a dynamically obtained value during command execution. It can't be used in planning.

 

A constant in the workflow tab is going to be evaluated during planning/preview when no commands have actually started to execute, only the input parameters to the commands have been resolved. So at this time there is nothing that has been added by Add-WfaWorkflowParameter at all.

 

 

But why you need this? This looks like s solution being attempted for a requirement. If you can elaborate this, I can suggest something.

 

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public