- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2023 05:16 AM
How to stop for creating incident with closed state or where to identify creating incident with closed state.
how to write business rule do not creating incident closed state. Please help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2023 01:43 AM
Hi @AJAYKUMAR G,
Have you look at my comments? Let me know if have any queries.
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2023 05:36 AM
Hi @AJAYKUMAR G,
How incidents are getting created? May be you can check the business rules, inbound action rules etc.
To avoid creation of Incidents with closed state. You need to write before insert business rule.
Condition:
current.isNewRecord() && current.state == 'closed'
Scripts:
gs.addErrorMesssage("Add error message here");
current.setAbortAction(true);
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2023 07:53 AM
No. workflow cancel but incident created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2023 10:17 AM
Hi @AJAYKUMAR G,
Can you explain how incidents are getting created?
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2023 01:43 AM
Hi @AJAYKUMAR G,
Have you look at my comments? Let me know if have any queries.
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar