We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a better way to check if array contains value?

Received Response
25
Views
5
Comments
edited Jul 4, 2017 7:00AM in Process Automation 5 comments

Summary

Is there a better way to check if array contains value?

Content

Hi there,

Just wondering if any of you have come across a better way of checking if a list/array contains a given value. I have a deliveryMethod array which I use on web form as a multi select checklist. Once the form is submitted, I then check if this array has one or more value on the process side using business rule node. See below. It seems like such an overkill to write a business rule to check if a list contains a value. I wish there was a simpler way - say a "contains" function in expression editor which I could

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!