How to test new contract condition check definitions real time?

James218
Mega Guru

Hi all,

I have created a new condition for contract expiry notification of 120 days. Now I wanted to test this, I added a new contract where expiration is exactly 120 days from today. How do I test this? I am working on our dev instance and looked for the scheduled job that runs daily as per the Contract Management Docs that looks for contract expiration that satisfies the condition checker to fire the notification but cannot find it. I was planning to run that job to see whether it will trigger the notification for the sample contract I am testing. Any help is greatly appreciated!

 

find_real_file.png

6 REPLIES 6

Noah Drew
ServiceNow Employee
ServiceNow Employee

Hi @jplim !

I believe you are looking for the "Contract: Run Condition Checks" Schedule Item on the "sys_trigger" table.

Here you can use the "Execute Now" UI Action for immediate testing.

Hope that helps!

If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!

Hi Noah,

Good day!

Thanks for your reply; I looked for it and can't find any entry which has the word 'contract' other than this. It doesn't have the Execute Now option, I think this is a scheduled job. I looked at the script and seems its calling a script include.

 

find_real_file.png

Shidhi
Tera Contributor

Hi Faro,

 

I too got a similar requirement to trigger a notification before 120 days of expiration. So, I have created a new condition under condition checks. But in the OOB notification, I couldn't see it as 120 days please see the attachment even though it triggered correctly. Please suggest to me where to adjust in order to get the desired result.

 

Also, how the Expiration Level field works. Please help me with this regard.

I have the exact requirement. Were you able to test it?