Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Random Strings

    Posted 08-24-2020 10:18
    No replies, thread closed.
    Hi All, 

    We use random string to create security mechanisms and variability within call flows, and of the built in functions that missing from the expression editor (IMHO...) is a random function. I've been able to create quasi-random strings using combinations of date time (seconds and milliseconds are somewhat random) with mathematical and and the reverse / select functions. They work, but are clunky and could possibly trip up a support tech who wasn't connected to what's going on. 

    Has anyone else come up with solutions for generating random strings (that don't involve calling a lambda function)? 

    If so I'd love to hear about it!

    Thanks
    Dean.
    #ArchitectureandDesign
    #Routing(ACD/IVR)
    #Security

    ------------------------------
    Dean Thames
    Koch Business Solutions
    ------------------------------


  • 2.  RE: Random Strings

    Posted 08-24-2020 11:47
    No replies, thread closed.
    I used a data action to Random.org.  Worked great and 1000 calls per day free or something like that.  

    The other option is to combine the milliseconds from the start time, current time, and any other time you have to get a number and then reverse the pattern and choose one or two from that result.  That gets you 3 feeds of random selection and a pattern reversal which will be pretty random.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Random Strings

    Posted 08-26-2020 13:40
    No replies, thread closed.
    Thanks Robert... yeah, that's what i was thinking. Milliseconds are basically random.

    ------------------------------
    Dean Thames
    Koch Business Solutions
    ------------------------------