Discussion
1
Replies
1961
Views
Pegasystems
Posted: February 16, 2015
Last activity: March 2, 2015
Closed
List Property 'item' must have an index ?
Error:
The reference .item().price is not valid. Reason: List Property 'item' must have an index.
In Activity rule:
step 11
propertiesname propertiesvalue
Param.price MyTempPage.item(param.PageListIndex).Price
i observed this from tracer.please suggest debugging steps to solve this
Hi Dinesh,
Assuming that you are using PRPC 6.2SP2, Instead of using MyTempPage.item(param.PageListIndex).Price, I would suggest to use MyTempPage.item(<CURRENT>).price to get the value. The key word <CURRENT> provides the current index in action.
Please go to PRPC 62SP2 Help and Search CURRENT key word to know about the details.