Active IQ Unified Manager Discussions

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




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

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





Re: Access WFA database from command fields using MVEL or access WFA database from a WFA Function






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.



If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Earn Rewards for Your Review!
GPI Review Banner
All Community Forums