Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Change String variable to integer in Script Agent

    Posted 12-04-2019 11:26
    No replies, thread closed.
    Hi all,

    I use a data action in Script Agent to send data entered by the agent to an external database

    In the data action, all the inputs accept the string value except one input field that requires integer value

    My question is: how we can convert to string variable to integer in the Script ?

    Thank you in advance.
    #Integrations
    #Omni-ChannelDesktop/UserInterface
    #PlatformAdministration


  • 2.  RE: Change String variable to integer in Script Agent

    Posted 12-04-2019 15:25
    No replies, thread closed.
    ToInt function can be used to convert a string value into an integer.


    ------------------------------
    Tomas Vadinsky, Cigna New Zealand
    ------------------------------



  • 3.  RE: Change String variable to integer in Script Agent

    Posted 12-05-2019 06:33
    No replies, thread closed.
    Hi Tomas,

    Thanks for your reply, but the ToInt Function is used only on the Architect

    I need this conversion to be done on the Script

    Can I use "ToInt" function on the Script ? if no, what is the equivalent command ?

    Thank you.

    ------------------------------
    Oudderhem Mostafa
    Coverage-Communication
    ------------------------------