UI Policies

PragyeshaRB
Tera Contributor

When the ‘Reverse if false’ field is selected and the ‘Execute if false’ field is empty, does the reverse of what is scripted in the ‘Execute if true’ field occur?

 

Does the ‘Reverse if false’ field need to be selected for the ‘Execute if false’ script to execute?

 

Can anyone please explain me the concept of "reverse if false" and "execute if false" the best way??

1 ACCEPTED SOLUTION

Bhavya11
Kilo Patron

Hi @PragyeshaRB ,

Behaviour of the those two fields are as follows:

Reverse if false -Option for specifying that the UI policy action is undone when the conditions of its UI policy evaluate to false. In other words, when the conditions are true, the specified actions are taken and when they are false, the actions are undone. Or Take the opposite action when the Condition field evaluates to false.

 

Execute if false -A script that executes if the conditions of the UI policy are not fulfilled and the Reverse if false option is selected.

 

IMPORTANT: The Reverse if false option must be selected for the Execute if false script to run.

 

 

 

Thanks,

BK

View solution in original post

2 REPLIES 2

Bhavya11
Kilo Patron

Hi @PragyeshaRB ,

Behaviour of the those two fields are as follows:

Reverse if false -Option for specifying that the UI policy action is undone when the conditions of its UI policy evaluate to false. In other words, when the conditions are true, the specified actions are taken and when they are false, the actions are undone. Or Take the opposite action when the Condition field evaluates to false.

 

Execute if false -A script that executes if the conditions of the UI policy are not fulfilled and the Reverse if false option is selected.

 

IMPORTANT: The Reverse if false option must be selected for the Execute if false script to run.

 

 

 

Thanks,

BK

Soni Tushar
Tera Guru

Hello @PragyeshaRB ,

 

Reverse if False:  When Reverse if false is selected, it automatically undoes the actions you’ve defined in the Execute if true section if the condition becomes false.

 

Let's understand with an example -- 

Condition: The form field "Category" is set to "Hardware.
Execute if True: Make the "Description" field mandatory.
Reverse if False: If the "Category" is not "Hardware" (condition is false), "Reverse if false" will make the "Description" field not mandatory (reversing the action).

 

Execute if False: Execute if false allows you to specify different actions that should occur when the condition evaluates to false, independently of what happens when it's true.

 

Example:
Condition: The form field "Category" is set to "Hardware."
Execute if True: Make the "Description" field mandatory.
Execute if False: Instead of just reversing the "true" action (making it not mandatory), you can hide the "Description" field entirely when the "Category" is not "Hardware."

 

The conclusion is:

"Reverse if False" is useful for simply undoing whatever you did in the "true" state.
"Execute if False" gives you full control over what happens when the condition is false, allowing you to define completely different actions.

 

If you found my response helpful, please consider marking it as "Helpful" or "Accept Solution." Thank you!