Posted: 8 Aug 2018 4:33 EDT Last activity: 9 Aug 2018 1:34 EDT
How to access "pyRawMessage" property in an activity?
Hi, I have "pyRawMessage" property on my Connect-REST primary page (pxObjClass Org-Int-Assign) as an output as shown in the attached snippet, though it does not belong to main integration class (which is Org-Int-Assign). It has value as 1 in success case and 0 in failure case. I need to access this property in my activity but could not access as this "pyRawMessage" property actually belongs to Embed-Error class (as attached as snippet2), but still able to see on the primary class Org-Int-Assign page directly and activity is not getting saved during design time as it is expecting "pyRawMessage" in Org-Int-Assign class but it is actually belongs to Embed-Error. As pyRawMessage is Pega OOTB property it cannot be created again in any class for polymorphism.
Please kindly help me know how I can access this property which is the response, in an activity as at design time activity is not getting saved while referring this property on primary page of pxObjclass Org-Int-Assign, post calling Connect-REST. (Currently using Pega 7.2.2 version)
The undefined "pyRawMessage" Property may be populated on the primary page when using Connect REST in some trailed releases of the Pega 7 platform, but it is inadvisable for this value to be set/read by any application logic.
If the current feature set of Connect REST does not allow for the desired mapping of data from the remote endpoint to the application, an enhancement request should be opened, so that the situation can be investigated.