Data policy Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 12:43 AM
Hi Team,
On our incident form, filling out the 'Impact' field is mandatory before users can set the 'assigned to'. Previously, users were bulk updating the 'assigned to' field from the list view, which caused issues.
To prevent this, I implemented a data policy making the impact field mandatory. So now if someone tries to update assigned to without impact it would throw the data policy exception.
The only issue now I'm facing is: On the service catalog we have 'report an issue' item which creates an incident but since the data policy has the condition of state is New, it throws the data policy exception on the portal as well.
How do I stop this? I tried onCellEdit but g_form.getValue() doesn't work.
Can someone help on this issue?
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 06:39 AM
Hi @JohnnySnow,
If I understand the Data Policy correctly (and therefore the Incident creation requirement), it is working as required - whenever an incident is created, an appropriate impact value should be set - regardless of whether it's created via the incident form itself, a service catalog or even an external API.
This is exactly what Data Policies do and designed for - to ensure at both server and client level, a field is mandatory.
For a solution, make the impact field available on the Catalog Request - this keeps all routes to Incident creation aligned.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:15 PM
Thanks for the response!
I ended up creating a Before BR and also used an onCellEdit Client script to fix the issues.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 02:31 AM
Thanks for the circle back @JohnnySnow.
Out of interest, why wouldn't you just default the impact value as part of the Catalog creation (or offer the impact selection to users if required as part of the process)?
If you found my response(s) helpful and/or aided the solution, please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 09:16 PM
the client wants the first level Service desk team to determine the impact, rather than asking end users to fill in.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.