below is the HTTP JSON Response to GET operation.
Process.HTTP_Get_1.HTTPResponseContent ={"collection_cnt":{"@COUNT":"1","@START":"1","@TOTAL_COUNT":"1","cnt":{"@id":"U'756CBC020CE43147BFAD8232DFB3AEAA'","@REL_ATTR":"U'756CBC020CE43147BFAD8232DFB3AEAA'","@COMMON_NAME":"PAM, Integration ","link":{"@href":"http:\/\/mysdmserver:8050\/caisd-rest\/cnt\/U'756CBC020CE43147BFAD8232DFB3AEAA'","@rel":"self"}}}}
Converting JSON String to ValueMap
Process.getPamUserResponse = convertJson(Process[OpName].HTTPResponseContent);
ValueMap Structure
Now I want to capture the UUID Of contact by
Process.PAMUserUUID = Process.getPamUserResponse.collection_cnt.cnt.@id;
but system is throwing an error
Line 2: Process.PAMUserUUID = Process.getPamUserResponse.collection_cnt.cnt.@id;
Expected an identifier and instead saw '@'.
Error in post-execution code. Failed to execute code:
Process.getPamUserResponse = convertJson(Process[OpName].HTTPResponseContent);
Process.PAMUser = Process.getPamUserResponse.collection_cnt.cnt.@id;
-- TypeError: Cannot find default value for object. (#3)
how to get the @id value successfully from the ValueMap.
Thanks