Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi All,
I want to compare the record type and a map that have similar data , I want to compare if it is same then create a list of that fields name.
Thanks
Discussion posts and replies are publicly visible
OK. Did you try to iterate on the fields and compare them? Do you already have something and are stuck?
You should try this and replace the actual ri! with your record value or parameter.
a!localVariables( local!fields: a!keys(ri!mapData), reject( fn!isnull, a!forEach( items: local!fields, expression: a!localVariables( local!recVal: index(ri!recordData, fv!item, null), local!mapVal: index(ri!mapData, fv!item, null), if( and( not(a!isNullOrEmpty(local!recVal)), tostring(local!recVal) = tostring(local!mapVal) ), fv!item, null ) ) ) ) )