Can we create both AND and OR options in IF/Else action in workato?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ06-14-2022 11:51 AM
Like when we create an if/else condition, it asks for "Or" and "And". But when we select "Or" then in the next step it shows only "Or". Can we use the "And" operator after "Or" in if/else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ06-14-2022 11:56 AM
Currently it is not supported. However, it is possible to switch to formula mode and retype your condition towards an "is true" condition for example
data field: "firstName == 'Jelle' or lastName == 'Van Loock' and ..."
condition: is true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ06-14-2022 12:11 PM
Like if I said amount>9000 and deptno=8 or deptno=7
is it possible to make and or or like scenerio??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ06-14-2022 12:13 PM
With correct encapsulation, it will work. Just make sure the condition will end in a boolean value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ06-14-2022 12:24 PM
but when once I select the OR then the AND option disappeared.
Can you give a screenshot where we can use both AND/OR in if/else at a time??