Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Use ATF to test request Approval record exist

Chang Shuang
Tera Contributor

Hi All,

I created a ATF and want test if the request approval record exist.
In this ATF I used update record to trigger the ask approval flow I created( step 6,step7)
I'm sure this flow can be triggered by update records.
But ATF can not find the approval record, created by ask approval flow.(step9).
How can I do to achieve this?

ChangShuang_0-1712630529309.png

 

5 REPLIES 5

abirakundu23
Giga Sage

Hi @Chang Shuang ,

Please add relation b/w sys_approver table with "u_itsm_sec_security_incident" using ATF "Field Value Validation" step.

Please add one more condition for linking b/w "u_itsm_sec_security_incident" & "sys_approval" table.

 

Please mark helpful & accept answer if its helpful

@abirakundu23 
Thanks for your reply.
How can I add relation b/w sys_approver table and u_itsm_securit_incident table using the 'Field Value Validation' step?

luffy3478
Tera Guru

I am not sure why you are creating approvals manually

abirakundu23
Giga Sage

Hi @Chang Shuang ,

Please try in that way.

akadu23_0-1712638350229.png

Please mark helpful & accept answer if its helpful for you.