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.

Trigger new approval if current approver is changed in cost center

raj149
Giga Guru

Hello Experts,

 

After rising a request it will wait for cost center approval (cost center approver is present in cmn_cost_center table).

now my requirement is 

current request is waiting for cost center approval but approver is changed in cost center table. now i want to trigger a new approval for current request.

 

means previous.approver !=current.approver  then we need to trigger a new approval based on selected cost center name in sc_request table.

 

How to achieve this by using schedule job...?

 

Best Regards,

Raj

5 REPLIES 5

Hi @raj149 did you check the logs? which log did not print? for me works fine in my PDI, you can debug in background script with using a request sysid

Regards
Harish