You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Business rule: Without Attached Incident Emergency Change cannot be closed (#1050)
* Review to Close Without Incident.js
While moving the emergency change request from review to close state , if there is No attached Incident to it then we will, abort the action and popup an error message.
* readme.md
1. This is a Before-Busines rule created on Change Request Table
2
+
2. I used GlideAggregate API.
3
+
3. only update is checked
4
+
4. conditions were Type is Emergency AND State changes to Close.
5
+
5. For emergency change Request, if there are no attached incident's to it then we don't let the user to move the state to close.
6
+
6. We use glideAggregate to glide Incident table and if we find any incident's user can move the state to close, But if there is no records then user action will be aborted.
0 commit comments