Objective : HTTP GET SDM API operation to find the contact_uuid of the users.
Operation successfully returns the contact information, however facing challenge in assigning the id value to process variable.
Process.getPamUserResponse = convertJson(Process[OpName].HTTPResponseContent);
Process.PAMUserUUID = Process.getPamUserResponse.collection_cnt.cnt.@id;
Error message
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)
please suggest me how to fix the error.
Perhaps this will help:
convertJson Function - CA Process Automation - 04.3.03 - CA Technologies Documentation
The convertJson function should return a valuemap. So to reference a value in that valuemap you need to specify the index number in brackets somewhere. I can't quite tell from your screenshot but my guess is that the value map is at the getPAMUserResponse level?
If that doesn't help, perhaps showing the full value of Process.getPamUserReponse would help to troubleshoot further.