I need to create a business rule to auto approve a RITM

Vijayenthiran S
Tera Contributor

Hi All,

 

I want to auto-approve an approval task if the approver is also the Requestor.

 

For example, if the workflow has opened_by manager approval, and now the Manager is submitting a request on behalf of a team member, the RITM should be auto-approved. 

11 REPLIES 11

Manmohan K
Tera Sage

Hi @Vijayenthiran S 

 

You should not be creating a business rule for it. The recommended way would be to add logic in flow of the request item. 

I agree, that is the optimal solution, but not always feasible.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Yes, I agree, but we already have created 100+ catalog items and I don't want to create this logic in each and every workflow of these items. That's why I wanted to create a business rule for it.

 

@Peter Bodelier I tried without the condition you mentioned but still it is not working. Please help.

Hi @Vijayenthiran S ,

Can you add a few log lines in the script, to see if the script is triggered at all, and if so where it stops?


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Hi @Peter Bodelier ,

 

I got it finally. I've achieved it using the flow designer, it is working as expected. Thanks for your time.