Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

Setting a workflow-level variable


Level 2

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.


Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply


Level 2

@azlnlw ,


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.