Updated on 2024-10-12 GMT+08:00

How Do I Parse Call-associated Data?

Description

During flow orchestration, the IVRREQUEST.transin_data variable is used to obtain the call-associated data string. You can use the following solution to parse the call-associated data.

Solution

Assume that the call-associated data is {"data":{"test": "Call-associated data test"}}.

Use the Variable assignment diagram element to assign the value of the test field in the call-associated data to the flow variable FLOW.str1. In this example, the value of FLOW.str1 is Call-associated data test.

Figure 1 JSON data invoking