SetAbortAction is not Working on Record Producer in Scoped Application

Raviteja Kunal1
Tera Expert

I am trying to use current.setAbortAction(true) in a Record Producer in a scoped application but is throwing the below error.

 

setAbortAction.jpg

Tried adding Application Cross Scope Access but not working, any reference to fix is this?

 

Thank You

 

5 REPLIES 5

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Raviteja Kunal1 

Refer below thread 

https://www.servicenow.com/community/developer-forum/setabortaction-is-not-working-in-scoped-applica... 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Raviteja Kunal1
Tera Expert

It is not working, any other solution?

Other way is to create global BR and use that abort action before insert to the table.

Better way is to create HI support for this. Because the solution provided in 1st response is legit if that is not working then might be it is instance issue.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Raviteja Kunal1
Tera Expert

Tried solution in 1st Solution but not working