2016-05-31 01:43 AM - last edited on 2016-05-31 11:24 AM by Li-Jacques
how can I save a WFA parameter created with "Add-WfaWorkflowParameter"
to a constant that is created in the Workflows constants tab?
2016-05-31 02:04 AM - last edited on 2016-05-31 11:24 AM by Li-Jacques
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.