Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Insert nested object into a JSON in Architect flow

    Posted 12-13-2024 04:11
    No replies, thread closed.

    Hello everyone, in the Architect flow, I would like to insert a nested object into an empty JSON. For example, the nested object will be something like below:

    {
        "Customer": {
             "name": "Albert",
             "gender": "male"
        }
    }

    The value of "name" and "gender" will be from variables. May I know how to use function SetJsonObjectProperty() to achieve such? Or any other solution?


    #Unsure/Other

    ------------------------------
    Albert Lee
    ------------------------------


  • 2.  RE: Insert nested object into a JSON in Architect flow
    Best Answer

    Posted 12-13-2024 07:34
    No replies, thread closed.

    Hello Albert, 

    I think posting this in the developer forums would be a good idea as well. But to try and help we have this document about Architect JSON values. 

    Cheers, 



    ------------------------------
    Cameron
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Insert nested object into a JSON in Architect flow

    Posted 12-16-2024 01:40
    No replies, thread closed.

    Hello Cameron, thanks for your help. It is indeed a good idea to post technical questions in developer forums. 



    ------------------------------
    Albert Lee
    ------------------------------