data policy exception in fix script

Nilesh Pol
Tera Guru

Hi All,

I'm trying update a field on CR close code from fix script those are wrongly populated, I prepared fix script. But it is not updating a field since, data policy exception, did any know how to bia pass data policy to update a field?.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Nilesh Pol 

yes it can be bypassed using gr.setUseEngines(false) to skip data policies.

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

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Nilesh Pol 

yes it can be bypassed using gr.setUseEngines(false) to skip data policies.

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