Request and RITM are not avialable in sysapproval_approver table

balaji_tk
Kilo Contributor

Hi,

I'm trying to automate the tests for request management flow in ATF. I have a scenario where I need to create a request and retrieve the request/RITM from sysaprroval_approver table and open it in a UI form, and then click 'approve' button in the UI.

The problem is that, after creating a request, when I pass the request ID or RITM ID to the sysapproval_approver table, I could not find any matching records.

Upon investigation i found that If I create a request manually, then I can find the record in sysapproval_approver table. ATF script is unable to find a matching record in sysapproval_approver table.

Please could you help with the ATF steps. Many thanks !

 

3 REPLIES 3

Tony Chatfield1
Kilo Patron

Hi, unfortunatly your post contains little clear detail of your configuration. Have you checked and confirmed that your ATF is creating/inserting a task that triggers approval - this is probably a flow or workflow?

Hi, thanks for your reply. I'm newbie tester and don't have any experience in ATF or ServiceNow modules/work flows. How to check that ATF is creating/inserting a task that triggers approval ? Will the dev team know the answer ?

@balaji_tk 

After submitting the Request, use open existing record and dot work to the submitted step.

It will now open in UI form.

After that you need to approve the request the you need to impersonate with right user and Open that exesisting record and click on Approve UI action.

 

And So on.

 

Reagrds

Shaqeel


***********************************************************************************************************************
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