Hello, community,
I want to share with you a tip that might help you in the future or current projects.
For instance, you have a lot of conditionals tied to or:
When value is 1 or value is 2 or value is 10 or value is 90 or value is 10320123.
Then, you got a new requirement to update the conditional that it should be available for an admin user type.
Instead of writing:
When user is admin and value is 1 or user is admin and value is 2 or user is admin and value is 10 or user is admin and value is 90 or user is admin and value is 10320123
As an idea, you can use the following expression:
Current date/time is not empty: formatted as text is yes and user is an admin
Inside of the formatted as text you need to set the following expression:
value is 1 or value is 2 or value is 10 or value is 90 or value is 10320123
Take a look at one of the examples, please:
Editor:
I hope you find this useful.