- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2022 08:14 PM
Hi,
I would like to know a solution for below situation.
--------
An employee submit a HR case and it should be immediately closed without HR user work.
*The case will be integrated to 3rd party system. So HR users do not work on ServiceNow
--------
I have configured its HR service as below but the case was not closed once submitted
- Fullfilment type : Service Activity
- Automatically close case : true
- Close when : All to-dos are completed
- Close offset : 0
- Service activities : no record
So I am thinking that I need to create business rule to close when cases of the HR service inserted.
Is there any better solution?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2022 08:48 PM
Hi,
You can use flow designer for this with no script involved instead of business rule
1) Flow triggers when Case is Created
2) Flow uses Update Record action and closes case with correct state values
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2022 11:03 PM
Hi,
Did you check any mandatory field is being not populated during closure?
Did you check the flow context? any before update BR is stopping the closure.
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2022 04:40 PM
Hi,
Thank you for your comment.
I have checked I can directly change the state manualy without any field update after the case submitted. So this is not the cause of mandatory field I think.
Is there any debug tool so that I can check your second comment flow context and BR stooping the closure?
Thanks your kind help.