modules:counter

Differences

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

Link to this comparison view

modules:counter [2017/02/21 13:44]
admin created
modules:counter [2018/08/28 15:16] (current)
admin
Line 1: Line 1:
 ====== Counter ====== ====== Counter ======
  
-{{:branch_on_counter.png?​nolink|}} +<WRAP group> 
 +<WRAP COLUMN>{{INLINETOC width18 4-5|Counter Module}}</​WRAP>​ 
 +<WRAP COLUMN>​{{:​modules:module-counter.png?nolink |}}</​WRAP>​ 
 +</​WRAP>​
 ---- ----
  
 ===Function=== ===Function===
-This module is designed to give end-users multiple attempts to complete an action. It is then possible ​to re-direct end-users to other areas of the call-path depending on whether their input was valid+This module is designed to keep track a variable and increment every time the module is visited\\ It is most commonly used to keep track the number of occurrence a section has gone through (ex: user attempts) before branching to different ​call flow.
  
-By default, the counter for the variable to be assessed starts at 0. Each time the call-flow passes through this modulethe variable'​s value increases by 1.+\\ Additional comparison conditions can be added / removed from the module ​by pressing ​the add and remove ( {{:​add-remove_action_icons.svg?​nolink&​46x16|}} ) buttons.
  
-The variable to be assessed ​is set in the module’s title bar. That variable can be compared ​to another variable.+If the comparison condition ​is true, the call path will be directed ​to the node to the side of the condition ( {{:​node_callflow_right.svg?​nolink&​20x20|}} ). \\ If the counter does not match any of the conditions listed, the call will then go through the node at the bottom of the module ( {{:​node_callflow_bottom.svg?​nolink&​20x20|}} ).
  
-The ‘Value’ field accepts static text or variables. 
  
-Counter data can be set manually in this module or carried through from another moduleClicking on the plus and minus signs ( {{:add-remove_action_icons.svg?​nolink&​45x16|}} ) allows users to increase ​the number of attempts that end-users have to complete a task.+\\ By default, the counter for the variable to be assessed starts at 0Each time the call-flow passes through this module, ​the variable'​s value increases by 1
  
-===Comparisons===+The variable'​s name that is defined in the module comes from the module'​s title bar. It can also be referred to later in the call flow with that variable name. \\ The counter variable can also be reset by using the [[modules:​set-variables|Set Variable]] ( {{:​set_variable.svg?​nolink&​16x16|}} ) module, in order to reset the attempt counter when a success attempt has occurred.  
 + 
 + 
 + 
 +---- 
 +=== Common Use Cases === 
 + 
 +^ Use Case ^ Description ^ Example ^ 
 +| **Login \\ Attempts** | The counter module can be used to keep track of the number of attempts before directing the caller to a different call path. \\ \\ In this example, if the caller provides a wrong login information 3 times, the call will transfer to a representative instead of allowing the caller to continue to re-try the login. \\ \\ Here is what happens each time the call goes through the module: \\ 1) //​login_attmept//​ = 1 - invalid_prompt and retry \\ 2) //​login_attempt//​ = 2 - invalid_prompt and retry \\ 3) //​login_attempt//​ = 3 - transfer | {{:​modules:​usecase-counter.png?​nolink|}} | 
 + 
 + 
 +---- 
 +=== Comparisons ===
 User may set the comparison terms User may set the comparison terms
-  * Equal to +  * Equals ​to ( = ) 
-  * Greater than +  * Greater than ( > ) 
-  * Lesser than +  * Lesser than ( < ) 
-  * Greater than or equal to +  * Greater than or equals ​to ( ≥ ) 
-  * Lesser than or equal to +  * Lesser than or equals ​to ( ≤ ) 
-  * Not equal to+  * Not equals ​to ( ≠ )
  
-===Module Settings=== +---- 
-None+=== Module Settings === 
 +  ​* ​None
modules/counter.txt · Last modified: 2018/08/28 15:16 by admin