Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  What does the Update data do in this call flow?

    Top 25 Contributor
    Posted 10 days ago

    I'm having trouble understanding Variables and Expression, need some help please.

    Per the Resource Center, the Update Data action in Architect is "Use the Update Data data action to assign values to flow or task level variables."

    What does the Variable Name 1 box do? Is it setting the call variable as "Flow.callLog"? What is the purpose of this field?

    What does the Value to Assign 1 do? What is the purpose of this field?

    data action

    #Unsure/Other

    ------------------------------
    Qan T
    Vibrant Emotional Health
    ------------------------------


  • 2.  RE: What does the Update data do in this call flow?

    Top 25 Contributor
    Posted 9 days ago
    Edited by Anton Vroon 9 days ago

    Hi Qan.

    Name - Yes sets the name of the variable

    Value - Sets the value of that variable.

    The 1, 2, 3 etc is just to help you know which variable value you are updating when you have many variables in the same Update Data action

    So in your example that Update action is creating 1 variable called Flow.CallLog and setting the value of that variable to Entering Main Number Callflow

    In some cases you will have multiple variables in the same action, or assigning an expression not a literal value, for example:

    Flow variables are accessible across all tasks in that flow (but not across flows) 

    Task variables are only accessible within that current task, Task variables can be set as inputs/outputs to pass their values between tasks if required.

    Hope that helps 

    Edit: Also if you click on the variable name, or go to Data page on the left under resources, then any description left for the variable will be visible, hopefully your flow designers are adding descriptions to their variables to make support of the flows easier.

    eg:



    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: What does the Update data do in this call flow?

    Top 25 Contributor
    Posted 9 days ago

    Thank you Anton.

    Per the screen shot below

    Variable Name 1: is creating 1 variable called Flow.CallLog

    Value to Assign 1: setting the value of that variable to Entering Main Number Callflow

    At this point why the variable and value were set up is not known, I checked for a description under the resource data page.

    Could this set up be for some type of tracking in reporting?



    ------------------------------
    Qan T
    Vibrant Emotional Health
    ------------------------------



  • 4.  RE: What does the Update data do in this call flow?

    Top 25 Contributor
    Posted 9 days ago

    You really would need to talk to the person who created it, you can see the names of people who made changes, by looking at the version history up top.

    But purely as a guess since it is called CallLog, and the next step is to write that value as participant data, I would guess that yes this adding logging/tracking to allow a admin or flow developer to look at an interaction after the fact to see the path they went down, which is really helpful for troubleshooting.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 5.  RE: What does the Update data do in this call flow?

    Top 25 Contributor
    Posted 8 days ago

    Thank you again Anton. Your input has helped me tremendously.

    Cheers!



    ------------------------------
    Qan T
    Vibrant Emotional Health
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources