Notifications

22 views

Symptoms


gs.addErrorMessage() placed in script include returns twice onClick of 'assignment_group' field on incident table.

Cause


Onclick of assignment_group executes "group query" business rule twice: one for each call to the following tables:

- sys_user_group
- sys_ui_recent_selection

This in-turn triggers the script include twice. Function call to sys_ui_recent_selection cannot be escaped.

Resolution


Create those error messages in onChange client script for 'assigned_to' field instead of script include call from server side.

 

Article Information

Last Updated:2019-05-21 11:52:42
Published:2019-02-20