Ideas

Add ability to pass Lava variable to Array filters "Contains" and "RemoveFromArray"

Add ability to pass Lava variable to Array filters "Contains" and "RemoveFromArray"

Lava

I have an array of attribute ids that I am getting back from SQL that belong to a specific category and am looping through all of my workflow attributes and need to check and see if the workflow attribute is in that array (ultimately trying to only loop through the workflow attributes once but pick out which ones belong to a specific category). I'd love to be able to use the Contains filter with a Lava variable. I also tried using a Lava variable with RemoveFromArray and checking to see if the size is less than before, but the Lava variable wasn't accepted there either. Going to attempt to tackle this with the entity commands 2.0 instead, but just wanted to go ahead and get this idea out there!

Photo of Leah JenningsSubmitted by Leah Jennings, Northside Christian Church  ·   ·  Lava
Login to add a comment...

Submission Success Tips

Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.

  • Clear Title: Craft a straightforward and descriptive title that instantly conveys the essence of your idea.
  • Concise Description: Provide an idea description that is succinct, ensuring it effectively communicates the concept without unnecessary verbosity.
  • Provide Additional Details: With a concise description complete, now provide any other details that are needed to better understand the requirements.
  • Thorough Ministry Need Review: Provide a comprehensive overview of the ministry need your idea addresses, emphasizing its significance.
  • Cover the WHY: Clearly articulate the rationale behind your idea, explaining why it's essential and how it aligns with the organization's goals and mission. Oftentimes a clear "why" sheds light into other possible options.