Expression evaluation error [evaluation ID = H0IAIER6]
in rule 'apac_getidentifiersforexcelreport'
(called by rules 'apac_sgp_importrqstlogrptdisplay' > 'apac_sgp_reportsdashboard'): “Invalid index: Cannot index property ’’identifier’’ of type String into type List of Variant
Can someone guide where to proceed with this defect ?
this errro comes in reports
Discussion posts and replies are publicly visible
=rule!EDD_GetPendingListOfApprover(status_code: "F3").data.businessGroupplease help how can I fix this one if cant find any "F3" status in list of data
Hi mla, Please use property() or index() function to resolve this issue. Its always advisable to use index or property fucntion when you are indexing into any datasubset. See example code below,
property( property( rule!EDD_GetPendingListOfApprover(status_code: "F3"), "data", {} ), "businessGroup", "" )
In the later releases of Appian, they have made a change in the index function where if the provided key is not found, then the function doesn't return the default value. Hence, I would advise you to use the property() function when playing with dictionary/CDT and use the index function when playing with the list.
property(property(rule!EDD_GetEmailEod(status: "F2",businessGroup:ac!businessGroup,regionName: ac!regionName),"email",null)may i ask how to display null email value if ac!businessgroup and ac!regionName is NULL. thank you