How can we configure the ATF test step to approve the RITM record via portal?

Tejasree Madhav
Tera Contributor

Hi Team, 

 

I have created ATF for one catalog item in that we have approvals. For approve that RITM record, i configure the steps like " Record query -> opening the existing record ->click UI action (Approve) " this is following backend process but our clients required that approve the RITM record from portal.

 

I tried by using this step for approve RITM via portal "Open Service Portal page" here it shows list of all RITM's and opening default first record. I am not able to pickup exact RITM record which i required. For your reference i am attaching the screenshot of that step.

 

Can anyone please assist me here.

 

Thanks,

Madhav.

 

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

@Tejasree Madhav 

you will have to use Record Query, determine the approval record for that RITM

Then in the next step you can use this sysId to open that approval record in portal

Then you need to use Custom UI step to click the Approve button

Something for you to get started, I shared approach few years ago you will have to enhance it for portal towards the end

ATF with REQ -> RITM (W/Approvals) -> SCTASK 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Tejasree Madhav 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you for your response @Ankur Bawiskar ,

 

I have written the record query to get that RITM and try to open that record by using this step open existing record still it is opening backend not in portal. Can you tell for opening record in portal which step we have to use?

 

Regards,

Madhav.

@Tejasree Madhav 

you need to grab the approval record sysId and then use the same Open Approvals page and use the sysId you grabbed to open the approval record

Then you need to use Custom UI step to click Approve/Reject

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader