Condition Value greyed out

0
Hi.   I am going through the Beginners module to  build an app using a template.   In the Extend a Mircoflow when I right click on either the happy or unhappy paths to set the condition to true or false the Condition Value shortcut is greyed out and unable to select a value.   Is anyone able to assist.   Regards   Colin
asked
4 answers
0

I totally agree with Mohamed. I would like to add more like there are just a couple of very simple and common extra things worth checking as well:

 

  • Decision type: Make sure the Decision’s Type is set to Expression. Sometimes it’s easy to overlook this and leave it on a different option, which keeps the condition value disabled.

  • Attribute type: If you are using an attribute directly, confirm that it is actually of type Boolean. If it’s a String, Integer, or Enumeration, you must use a comparison (for example Status = 'Approved') so the result is Boolean.

 

The most common cause is simply that the Condition field is empty or does not evaluate to true/false yet. Once the condition returns a Boolean, the happy and unhappy path options become available automatically.

answered
0

Hi,

This usually happens when the decision condition is not based on a Boolean expression.

In the Extend a Microflow step, the Condition Value (true/false) option is only enabled if:

  • The decision is created from a Boolean variable or expression

If the decision is:

  • Empty, or
  • Based on a non-Boolean expression (for example, a string or object check)

then the Condition Value shortcut will be greyed out.

How to fix it

  • Open the Decision activity
  • Set the Expression to a Boolean condition (e.g. $MyBoolean = true)
  • Once the expression is Boolean, the true / false paths will become selectable

This is expected behavior and not an issue with the template or Studio Pro.

answered
0

Hi


Thank you all for your replies. After 5 minutes of posting the issue, I worked out the it was the expressions.


Thank you again.

answered
0

Ypur welcome Ahmet

answered