RenatoC3 Member since 2019 3 posts
Posted: October 8, 2020
Last activity: October 15, 2020

Unable to iterate through value list created by pxConvertStringToPage function

Hi everyone,

I`ve a created a service that receives as a request a json array like:

{"nrPropostas": ["984002215", "984002216"]}


In my activity i`m using the function "@(Pega-Rules:Page).pxConvertStringToPage(tools,myStepPage,Param.Request,"json")" to convert the json array to a clipboard page, as you can see below:

img 1

The problem is that the funciton is converting the json array to a value list, since this value list is created only inside de activity and is classless i`m not sure how can i iterate through this value list inside my activity

img 2

Can anyone point me in a direction to solve this problem?

Thanks in advance.

***Edited by Moderator Marissa to change type from Pega Academy to Product; update Platform Capability tags***
Pega Platform 7.2.2 Case Management Low-Code App Development Testing Applications
Share this page LinkedIn