Created on 19 November 2024, about 1 month ago

Problem/Motivation

In my case I do have several stages of project like 15 different stages.

I would like to create FORM Validation and determine if it the status is CLOSED then check if Stage is Completed or Closed.

The problem I am facing is:
when I use "Compare Two scalar Values" and compare if field stage is equal to Completed (Negate the condition) and the same condition for Closed, then it does not work and it uses it as AND instead which makes sense.

Workaround is to create additional 13 conditions with EQUAL to any other status and it it is equal - add Error.

However I am too lazy to create 13 different conditions so my question is, > is it possible to add OR condition to ECA, so I can simply create just 2 conditions and if none of them is valid - use ERROR ?

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Documentation

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @coaston
  • πŸ‡ΈπŸ‡°Slovakia coaston

    Well Looks like serial will do the trick.
    One condition "Compare Two scalar Values" and compare if field stage is equal to Completed (Negate the condition) then Gateway and again "Compare Two scalar Values" and compare if field stage is equal to CLOSED (Negate the condition)

    Previously I tried one Gateways and 2 different connections. My bad.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    In other words, if you have e.g. 7 conditions and you want to know if either of the 5 first ones is TRUE, you have to choices:

    Option 1: OR condition like 1 or 2 or 3 or 4 or 5

    Option 2: AND condition like not 6 and not 7

    It always depends, which option is less coding.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024