- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 02:42 AM
Hello!
We are trying to implement a system where we close an incident via email.
We want to read the subject that will contain the INC number at the beginning.
The script is,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 12:59 AM
Can you update the code as below and let me know please
grTask.state = 7;
grTask.close_code = "Workaround provided";
grTask.close_notes = "Closed from inbound action";
grTask.update();
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:26 AM
@Prince AroraYou are correct! The INC needs a resolution code and commnet to be specified in order to close.
We still receive that the script did not create or update any record on the logs, but it does close the INC record.
Thank you very much for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:30 AM
Yes there exist a data policy on incident table, which stops to update the record without close code/notes.