This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
action:Set_Variable_to_Text [2017/07/15 11:59] JMichaelTX [Dynamic Determination of Variable Name in Text Area Block] |
action:Set_Variable_to_Text [2017/07/15 12:10] JMichaelTX Add block explaining processing of dynamic var tokens |
||
---|---|---|---|
Line 59: | Line 59: | ||
**This requires two steps (two Actions):** | **This requires two steps (two Actions):** | ||
+ | |||
+ | {{:action:set-variable-text-dynamic-var.png?nolink|}} | ||
+ | |||
+ | **The Steps Are** | ||
* **STEP 1.**\\ //Set Variable to Text Action// (this action) to dynamically determine a standard variable token based on one or more variables, which optional text. | * **STEP 1.**\\ //Set Variable to Text Action// (this action) to dynamically determine a standard variable token based on one or more variables, which optional text. | ||
* In the text area of the Action, enter a special form of the Token entity, where you will embed another Variable token, and optionally text. | * In the text area of the Action, enter a special form of the Token entity, where you will embed another Variable token, and optionally text. | ||
Line 80: | Line 84: | ||
* **STEP 2.**\\ [[action:Filter_Variable|Filter Variable Action]] using the //Process Tokens// option. | * **STEP 2.**\\ [[action:Filter_Variable|Filter Variable Action]] using the //Process Tokens// option. | ||
- | {{:action:set-variable-text-dynamic-var.png?nolink|}} | + | |
--- | --- | ||
==== Dynamic Determination in Variable Name Block ==== | ==== Dynamic Determination in Variable Name Block ==== | ||
+ | |||
Since the Variable Name block of the //Set Variable to Text// Action accepts tokens, we can just use it directly if we just need to concatenate two more more Variables, with optional text. | Since the Variable Name block of the //Set Variable to Text// Action accepts tokens, we can just use it directly if we just need to concatenate two more more Variables, with optional text. | ||
* For example: `%Variable%myPrefix%%Variable%myFieldName%` | * For example: `%Variable%myPrefix%%Variable%myFieldName%` |