logs shows message as Didn't create or update incident using current when creating incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 06:36 AM
Hi,
I have created an inbound email action to create and update incident. The issue I am facing is even though incident is getting created or updated the logs shows "Did not create or update incident using current". This is the inbound script I have used:
And in email once the email is received , the Target field should be updated with the existing incident number since subject is same to which it got mapped but its empty.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 06:40 AM
I have changed my else part with current so its working now,but now issue is with If part. Additonal comments is getting updated but in sys_email table the target field is empty where i need the updated incident record to be mapped in target field
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 06:44 AM
the IF part means incident is already present so the INC should be updated on target field in email
If the inbound action is of type Reply then that field should get populated OOB
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 06:45 AM
the IF part means it found the record, so please use current.update() instead of glideRecord object
Empty Target record on processed emails
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 06:28 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader