How to stop users from replying to Closed incidents (Which reopens the Incident)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 01:33 PM
Hi All,
I need some help with my the code below. Not sure how to check if the state is closed when an inbound email is received. My code below changes our state to follow up when an inbound email is received but here's the thing if someone replies to a closed incident it basically reopens the ticket. Was hoping someone can help me with adding in a piece of code that checked if the state is closed first & then proceed with finishing the rest of the code out??
Update Incident (Inbound Email Action)
Also would like to add that I tried adding in "gr.incident_state != 3;" between gr.u_inbound & gr.state but it did not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 01:53 PM
What does state = 9 represent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 01:57 PM
A new choice we added into the state field.
9 = "Follow Up" while the value for closed is "3"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 07:13 AM
I don't have a ton of experience with Inbound Emails, but I think your issue is an OOTB flow is clashing with your BR. Check to see if you have a flow called "Update Case via Reply" (look in Flow Designer or in Process Automation > Flow Administration > Inbound Email Flows). I would try to handle your actions through there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 07:35 AM
I'm not surprised my instance doesn't have the flow mentioned above but maybe I should create a flow that blocks emails for closed tickets??