User Tools

Site Tools


action:Set_Variable_to_Text

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
action:Set_Variable_to_Text [2017/07/15 11:50]
JMichaelTX Fix error in dynamic variable per @peternlewis
action:Set_Variable_to_Text [2017/07/15 11:59]
JMichaelTX [Dynamic Determination of Variable Name in Text Area Block]
Line 59: Line 59:
  
 **This requires two steps (two Actions):** **This requires two steps (two Actions):**
-  ​//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.
     * For example: `%%Variable%%myVar%Variable%myVarNum%%%`     * For example: `%%Variable%%myVar%Variable%myVarNum%%%`
       * Note the use of two percent symbols (`%%`) in places where you want the result to be one `%`.       * Note the use of two percent symbols (`%%`) in places where you want the result to be one `%`.
-      * Here is how this text will be processed when the Action executes: <​code>​+      * Here is how this text will be processed when the Action executes:\\  .<​code>​
 %%Variable%%myVar%Variable%myVarNum%%% %%Variable%%myVar%Variable%myVarNum%%%
  
Line 77: Line 77:
 %Variable%myVar2% %Variable%myVar2%
 </​code>​ </​code>​
-    * This is the variable we want to get the results of, so we will need another Action to get it. +    * This is the variable we want to get the results of, so we will need another Action to get it.\\     
-  ​[[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|}} {{:​action:​set-variable-text-dynamic-var.png?​nolink|}}
action/Set_Variable_to_Text.txt · Last modified: 2023/09/15 05:44 by peternlewis