Hi guys,
I have an expression rule
local!Id:index(rule!QE(input:ri!input),"Id",{}),
local!Name:a!forEach( items: local!Id, expression:index(rule!QE(Name:fv!item),"emailAddress",{}) ),
local!displayName: a!forEach( items: local!approverId, expression: index(rule!QE(displayUserName:fv!item),"displayName",{}) ), local!Id could have multiples values(List of String) so the local!Name and local!displayName could also get multiples values(List of String) Now I need to "foreach" them into CDT I am able to make only for one value like local!cdt:foreach(items:local!Name, expression:type!{urn:com:appian:types:QA}CDT_Data( Name:fv!item, displayName:local!displayName) How can i pass multiple values values to the cdt type like both local!Name and local!displayName into the cdt by using foreach
Expected output: ===========
List of String
CDT_DATA Name : ramu anujam DisplayName : Ramu
CDT_DATAName : kiran BDisplayName : kiran
CDT_DATAName : Sundar SDisplayName : Sundar
Thanks
Discussion posts and replies are publicly visible