General

Evaluate a condition using Conditional Value block

Evaluate a condition in Centrldesk

The Conditional Value block is used to evaluate if a condition is true or false and set the output with a value for each.

The input values are specified for both cases, If True and If False. Depending on whether the input Condition is true or false, the corresponding result is set to the output.

Example A:

library-general-conditional-example-1-1

The result of the input values 'true', 'Hello' and 'Centrldesk' is 'Hello'.

Example B:

library-general-conditional-example-2-1

The result of the input values 'false', 'Hello' and 'Centrldesk' is 'Centrldesk'.

Result:

The condition is evaluated and the result is returned.

Tips and best practices:

The Conditional Value block is useful for assigning values to True False decisions.

Library:

General

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.