Use this action to store a specific value in a variable. The value stored can vary depending on whether or not the routing instruction's condition, when evaluated, returns true or false.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8xMTAwLzIyNTAvY2tmaW5kZXIvaW1hZ2VzL2ltYWdlKDExMSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY3MzE1NzgzfX19XX0_&Signature=OX0CUU5iBMv00MS7R6tBORxQscptmmZLPb23tn3-KflWWmxG5Gvv9AjkFnNd4wTolc7k-iv~~pBhrlYDeJ1yiFZDm5OTvtGosuiAPnaA512bm5vYf4xeeopYj4BAXRW7WfdDBOcKXhfQYZwc4kqHIMfgX5S6BHX1ykXWnrcw9~8qvBSitXnLoa1h3xXk9tr1UEaAbkJeAlV~sa--JnjCtBCU4HftHlt1~GUIsBgDl9-LMvSXJxidlX-V~YYAr6F8HIxCPjovz5hgMWOR-7XvVHbSI3QXEtXrmQVvi1G~OA95ya653PzQNwusfMgCaf4n-Q9eAzzxQuwyd7TMJko1-g__&Key-Pair-Id=K2TK3EG287XSFC)
For the value if true and (optionally) the value if false, the value stored in the target variable can be a numeric value, a set of numeric values or a string of characters. The value to be stored is determined by a block of AskiaScript code, which can be simple (e.g. simply specifying a value) or more complex (with the value being contingent on the evaluation of conditions). Examples include:
1 specifies the numeric value 1. In other words, 1 will always be stored in the target variable.
??Q1?? specifies the value(s) given to Q1 by the respondent. Whatever answer the respondent gave at Q1 will be stored in the target variable.
"pepsi" specifies the string of characters pepsi, so this will always be stored in the target variable.
{1;3} specifies the set of values {1;3}, so these values will always be stored in the target variable.
ResponseText("Q1:3") specifies the response text of the third response in Q1, so this will be stored in the target variable.