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,
have created one rule which called from process model. but it does not return any value.
need to filter values from pv.
The rule has index and where contains
Discussion posts and replies are publicly visible
It can be .. if where contains is returning list of integers - 0 items (the data which you are trying to find is not present in the array) ... hence the index function is not returning any valueplease look at this code
a!localVariables( local!data:{a!map(id:1,data:"aman")}, local!data2:{"a","b","c"}, index(local!data2,wherecontains(2,local!data.id),null) ) //id:2 is not present in the data and // the where contains will return list of number integers 0 items //code will goes as // index(local!data2,tointeger({}),null) // which will return list of text string 0 items