Quantcast
Channel: ServiceNow Community - Post implementation
Viewing all articles
Browse latest Browse all 108

current.setAbortAction(true) causes the error message 'Invalid update'

$
0
0

Guys,
I got stuck with current.setAbortAction(true) in a business rule... I have a simple business rule on an incident table:
When: Before
Update: yes
Condition: current.category=='Software'&&!current.hasAttachments()
Script:

gs.addInfoMessage("No attached documents found! Operation cancelled.")
current.setAbortAction(true);

read more


Viewing all articles
Browse latest Browse all 108

Trending Articles