Skipping approval in the workflow if tech owner/deputy is the same as business owner/deputy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 07:10 AM - edited ‎05-09-2024 07:15 AM
Hi,
I need help creating a workflow.
The workflow is supposed to work in such a way that first approval is required from the Line Manager, then from the Tech Owner/Deputy and then from the Business Owner if he is different from the Tech Owner/Deputy (in this case, if they are the same, approval for the Business Owner/Deputy is to be omitted to avoid repeated notifications for the same person)
Unfortunately, we have the same people entered as Technical Owner and Business Owner and the same for Technical Owner Deputy and Business owner deputy.
I tried to do it as below, but I still get double approval requests. Any ideas?
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 07:14 AM
Activity seems to be properly defined. Have you confirmed that the users are different (worst case: check the sys_ids, names could be the same for some strange reason)? And what's the rest of the workflow? Are you sure you don't trigger 2nd approval later?
See more of my content here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 07:19 AM
later, no, everything goes wrong with the approval for Business Owner/Deputy because I have the same people entered there and the approval requests are doubling...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 07:21 AM
and it should work like this - if the Technical Owner and Technical Owner Deputy are the same people who are entered as Business Owner or Business Owner Deputy, then once approval is performed, the next one is no longer needed because it is known that there is consent.
If the Business Owner is different, Approval goes to him and if the Business Owner Deputy is also different, it also goes to him. If that makes sense 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2024 07:25 AM - edited ‎05-09-2024 07:26 AM
so you have an if activity to check for the different users and the you do the same check in the scripted approval? what's inside you if activity?
EDIT: I see, you've changed your scripted approval. So what's in the IF?
See more of my content here.