if(isnull(or(ri!a,ri!b)),{},a!forEach( items:rule!KONE_Development_CSE_TENDER_PHASES_Search_Rule(ri!a), expression:a!localVariables( local!csetenderphases:fv!item, a!forEach( items:rule!KONE_Development_CSE_TENDER_Search_Rule(local!csetenderphases.tenderId), expression: if(local!csetenderphases.tenderId=fv!item.id, if(or(fv!item.statusId="3",fv!item.statusId="4"),{},{ a!update(data:local!csetenderphases,index:"user",value:ri!b) }) ,{}) ) ) ).list.user )
As title, i need transfer all value to be correct form to be saved
thank you all
Discussion posts and replies are publicly visible
sorry, not being rude, just this size after paste it, so annoying, sorry sir
Please check my post
https://community.appian.com/discussions/f/new-to-appian/22057/how-can-i-transfer-property-user-of-type-text-into-type-list-of-variant/86362#86362
I didn't get it, I know you can help me sir, it return a list of value of picture I posted.
You are iterating on a list of values. Does this expression return a non-empty list for each of the values?
yes, it do returns non-empty list, at least the id as primary key can't be null return with
OK, but this is just a list of integers. Not a list of data structures having any fields.
This is not?
I am confused. You posted two screenshots. How do the related to each other?
I think that the expression in line 13 of your code does not return a proper list for each value in the outer foreach. Investigate that.
it do returns value, those null are the sample data I put in table, only fill in a few attributes
OK. Whatever. Trying to access fields using dot-notation breaks if that field does not exist. Either make sure that each item has that field or use index() or property() functions.