Question

10
Replies
140
Views
Close popover
Venkata Suman Palukuru (Suman Palukuru)
Tata Consultancy Services Ltd
Lead System Architect
Tata Consultancy Services Ltd
US
Suman Palukuru Member since 2015 62 posts
Tata Consultancy Services Ltd
Posted: April 14, 2020
Last activity: April 15, 2020
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 App Studio Enterprise Application Development Dev/Designer Studio User Experience Mobile Case Management Financial Services Lead System Architect