Question

10
Replies
79
Views
Suman Palukuru Member since 2015 60 posts
Tata Consultancy Services Ltd
Posted: 5 months ago
Last activity: 5 months 1 week ago
Solved

Query on Pega API - Refresh action details of the assignment

I have a question on ' Refresh action details of the assignment API'. Below is the list

1) What is the use of refresh for parameter and how can I use it?

2)

USE CASE: I have screen with 2 fields Proeprty1 and Property2. Property2 should be visible when Property1 is not empty and Property1 has an on change event to refresh the section and call either a data transform or activity , in activity or data transform I am setting the property2 with some value and logging a message.

 I am calling the /assignments/{ID}/actions/{actionID}/refresh API passing the request body as {"content": { "TestProperty":"value111"  }} , I am getting the response with Property2 in JSON response but the value which was set in the refresh section activity of Proeprty1 is not set.

QUESTION:

A) Does refresh section and corresponding activity or data transform gets called when calling this API?

B) How can I use the 'refresh for' parameter for this use case?

C) Is there any documentation on in depth details on how to use these API's?

Thanks,

Suman

Pega Platform 8.3.2 Low-Code App Development App Factory Low-Code App Development App Studio Low-Code App Development Dev/Designer Studio User Interface Mobile Case Management Financial Services Lead System Architect
Share this page LinkedIn