Question

5
Replies
6898
Views
SudheerC2995 Member since 2015 4 posts
AIG
Posted: August 26, 2016
Last activity: February 16, 2017
Closed

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***

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn