Server Side - prevent an API from being able to have the calculated priority.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 12:04 AM
Hi All ,
I have a requirement where , I need to prevent an API from being able to have the calculated priority be Sev0.
and it will be done if we implement the below logic
In a single payload, Impact cannot be 1 - High (value = 1) and Urgency cannot be High (value = 1) at the same time.
If Incident Impact is already set to 1 - High and Urgency is set to Medium High or Normal, do not allow the payload to set Urgency to High
If Incident Urgency is already set to High and Impact is set to something other than 1 - High , do not allow the payload to set Impact to 1 - High
How can I implement the logic which will restrict the API from setting these values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 12:39 AM
Write a business rule that follows your logic and then in the condition add the following
!gs.getSession().isInteractive()
This will ensure the business rule only executes when triggered by an integration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:07 AM
Hi @SnowReece - can you please help me with the Business rule ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:12 AM
Show me what you have tried so far. You can always split this in to three easy to configure business rules rather than a single complex one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 01:22 AM
Hi @SnowReece - please check your personal message , I have dropped you a message .