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
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/09/07 00:15]
peternlewis
Line 4: Line 4:
  
 {{:​action:​set-variable-text-token-popup.png?​nolink|}} {{:​action:​set-variable-text-token-popup.png?​nolink|}}
- 
---- 
  
 ===== Examples ===== ===== Examples =====
 +
 ==== Set To Text You Type ==== ==== Set To Text You Type ====
  
Line 23: Line 22:
  
 ==== Combine Multiple Variables and Text ==== ==== Combine Multiple Variables and Text ====
 +
 There is no need to use any operators when combining text with multiple variables or other tokens. ​ Just enter the text and variables/​tokens as you would like them to appear in the Variable being set by this Action. There is no need to use any operators when combining text with multiple variables or other tokens. ​ Just enter the text and variables/​tokens as you would like them to appear in the Variable being set by this Action.
  
 {{:​action:​set-variable-text-combine-var.png?​nolink|}} {{:​action:​set-variable-text-combine-var.png?​nolink|}}
- 
---- 
  
 ===== Setup ===== ===== Setup =====
Line 59: Line 57:
  
 **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 78: Line 80:
 </​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.\\    
-  * **STEP 2.**\\ ​ [[action:Filter_Variable|Filter ​Variable ​Action]] using the //Process Tokens// option. +  * **STEP 2.**\\ ​ [[action:Filter|Filter 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%`
Line 93: Line 92:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 === Actions === === Actions ===
Line 103: Line 100:
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
  
----- 
 ==== Forum ==== ==== Forum ====
  
action/Set_Variable_to_Text.txt · Last modified: 2023/09/15 05:44 by peternlewis