Question
Activity with Loop
I need to enter data in data table from included page (clipboard attached). I use nested loop and I can't get data from outer loop to inner. How can I form link to object like: pyWorkPage.Carriage(<current>).TTN(<current>).NumberTTN
When using local variables gives an error: The property pyWorkPage.Carriage(1) was of mode Page while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getStringValue() was expecting String mode. Details: (none)
Also when using the reference type:pyWorkPage.Carriage.TTN(<current>).NumberTTN or pyWorkPage.Carriage().TTN(<current>).NumberTTN, we get no result
***Edited by Moderator: Pallavi to update platform capability tags***
Hi ,
Below is the one of the way to do this .
You can set the required data to top level page inside loop's as below.
Loop1:- pyWorkPage.Carriage
Set data required at this level to page.
Inner loop:- . TTN
Set data required at this level to page.
Save the page.
Thanks,
Deva