Catalog Item Approval is not getting trigger in ATF

Charles Fredie
Tera Contributor

Hello Everyone,

I have been creating an ATF for catalog item which has 1 approval (Manager approval). The approval gets triggered when I test manually but it is not getting triggered with ATF.
When I follow the Create User and Impersonate steps approach, the approval does get triggered,
but when I impersonate a user from the system in ATF, the approval triggers as per the Workflow

Has anyone faced any such scenario? Any help will be much appreciated

4 REPLIES 4

Shaqeel
Mega Sage

Hi @Charles Fredie 

 

It could possible that the created user does not have manager then in that case it could skip the manager approval.

Kindly check the rule and modify your ATF test accordingly.

 

Regards

Shql


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Hi @Shaqeel 
I am creating two users, User 1 from which I am submitting the request and there is a User 2 who is the manager of User 1. The problem is when I give them basic ITIL role, the approval is not getting triggered.
When I provide them the admin role via ATF, then the WF works as expected and the approval gets triggered.
Could role be an issue or am I missing something while configuring?

Yes, that could be the reason.

There could be role required to approve the request.

and admin role is the highest.

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

Hi @Charles Fredie , 

Try to understand how the Approval flow is configured for the Item in the Flow designer, then as per those conditions the test steps can be updated.

Also check that if it is taking time to Trigger the approval when Approver is having itil role.

 

If the Item was OOTB then pls let me know, so that I can see how it is configured.