I'm working on a Report Definition that is called in a Service Rest that uses the Get Method. The Activity Service calls the Report Definition through a Step using Call Rule-Obj-Report-Definition.pxRetrieveReportData.
I would like to pass some parameters to be captured and used by the Report Definition, for example this Cpf Parameter
@IsnardM0 The best solution for this question would be as follows :
(1) In the Service-REST , call a wrapper activity X. You can map the Request_headers in the GET Method specifications.
(2) Inside the activity, set the parameters by mapping it from the GET Method specifications. This can include your business parameters, as well as activity parameters.
(3) Then call pxRetrieveReportData and then pass all the required parameters.
Since you need manipulation of the request data, not to mention the subsequent Response orchestration from the Report Definition data, it is recommended not to call pxRetrieveReportData directly from the Service-REST rule.