Question
AIG
US
Last activity: 16 Feb 2017 14:38 EST
How to make Pega API calls to Pre-activity of Flow Action, How to interact with Pages "parallel to pyWorkPage" through Pega API
I have the following questions related to Pega API.
A)Pre activity and post activity are configured in a flow action, we want to make one Pega API REST service call to call Pre-Activity and another Pega API service call to perform flow action(UI submission and calling post activity) . We see POST method call in Pega API "Assignments" takes Assignment ID and Flow Action name as input and it does Perform FlowAction and executes Post Activity. Is there any suitable Pega API REST service OOTB using which we can make call to Pre-activity of the Flow Action and get the pages populated in that pre activity as part of REST repose in JSON format.
B) My pre-activity of flow action creates "pages parallel to pyWorkPage" and populates data into the pages, how can I send these "pages parallel to pyWorkPage" as response of Pega API REST service call. Also in Pega API POST Assignments service request I want to pass data to "pages parallel to pyWorkPage". Using Pega API for REST services how can we send data to these "page parallel to pyWorkPage" as REST request and after processing send these "pages parallel to pyWorkPage" as REST response.
***Updated by Moderator: Vidyaranjan. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option***