We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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?

chaithu1489
Kilo Sage

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.