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);