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.

Invalid update while submiting problem task

Research
Tera Guru

Hi


I am geting error invalid update while submiting problem task 
can please guide me to fix it

I wrote data policy where short description, assign group and assigned to is mandatory

once I fill all mandatory fields  and submit I am getting below error 

Research_0-1741347444334.png
Thanks

 

8 REPLIES 8

SyedMahemoH
Tera Expert
Hi @Research,
I Hope you are doing well!
Check if a Business Rule has been written with the code: current.setAbortAction(true);

If not Try this one 
var task = new GlideRecord('problem_task');
task.get('sys_id_of_your_record'); // Replace with actual sys_id
task.short_description = "Test update";
task.update();
If this script fails, then ACLs or Data Policy are blocking updates.

Research
Tera Guru

Hi all I Have deactivated abort action Business rule and data policy I created still I am facing same issue any suggestion please help me
Thanks

 

Hello @Research 

 

Is it happening while saving the new record always -  Irrespective of whatever field values you are filling ? 

 

Please check ACL if there is any that is blocking problem task update - are you doing all this  admin access ? 

 

Also please verify that the assignment group and assigned to you are using are active and correct, assigned to should belong to the group. 

 

Lastly, try creating a new problem task record using a background script and see if there is any blocker. 

Research
Tera Guru

Hi @Shivalika 
I am filling only mandatory fields
I also checked with background script no luck
But I am able to create problm task in service operation workspace(SOW) Agent  view 
Issue in default view