Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

How to approve group approvals using atf

GBS
Tera Contributor

How do you approve the group approvals using ATF? I have impersonated one of the group members and queried the record to open in the sysapproval_approver table. Still, the Approve UI action is not visible to approve the request. Is there any other way to achieve this?

2 REPLIES 2

Not applicable

Couple of things to check first,

1. Does the user/group have the approver_user role or equivalent?

2. Is the user/group active? 

 

I would then also validate that a sysapproval_approver record exists for debugging for that user using the validate step. 

 

Personally, I would create a user in that group as a step in the ATF, then impersonate the newly created user instead of impersonating an existing one, good practice as if that user leaves and a clone is done, the ATF will start failing later on. 

 

Could you also add some screenshots of what you are experiencing please? 

Shaqeel
Mega Sage

Hi @GBS 

 

What I did is, 

After impersonation, I open the record e.g RITM

apply filter on list in Approval related list as approver is >>impersonator.

Open that record and approve.

 

Regards

Shaqeel