Setting a workflow-level variable | Community
Skip to main content
Level 2
July 27, 2021
Question

Setting a workflow-level variable

  • July 27, 2021
  • 1 reply
  • 875 views

Is it possible to set a static variables at the query level of a workflow? For example, I want to set workflowID = 001, and then reference "workflowID" throughout the workflow vs setting an explicit value each time.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

_abhishek_
Level 3
September 21, 2021

@nickwa7 ,

 

As we don't have JavaScript activity in ACS, we will not be able to declare a static variables straight forward at the query level. But based on our requirement, we can use below 2 options:

1) Using Option variable:- We can declare a option variable and use it any where in the workflow.

2) Additional data:- In the Additional tab of Query Activity, We can create an element and declare the value in it. Where ever the value is needed, We can use this custom field.

 

Regards,

Abhishek