Hello Appian community,
so I have a drop down where I am trying to see the the value of the of the entity and entityType and entitySubtype I can see the entities and the entityTypes but I can not see the .entitySubtypes?
I do not understand why my code is failing and cannot "see" into for each loops to "view" what the values are or why its failing
here is the code:
a!forEach( items: local!symbolIcon, expression: fv!item.entity & if( rule!APN_isEmpty(fv!item.entityType), "", " - " & fv!item.entityType ) & if( rule!APN_isEmpty(fv!item.entitySubType), "", " - " & fv!item.entitySubtype ) ),
here is what I can see when I run the rule:
here is what you see from the drop down
please lmk if you want more.
I do not know why the dropdown is not showing the entitySubtype,
the apn isEmpty rule take any object
here is the code for it
or( isnull(ri!array), length(ri!array) = 0 )
any ideas would be helpful
thanks,
Kevin
Discussion posts and replies are publicly visible
The issue might be that isEmpty checks whether an array has any items, but not whether there is any characters in a string. If you want to stay with these helper expressions, use isBlank instead.