- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2019 09:50 AM
Hello, I have created an inbound email action on the sc_task table to update the parent RITM state and to add a comment to the catalog task. The parent RITM state gets updated so I know the inbound email action is processing properly. However the comments are not getting appended to the catalog task as expected despite copying the same line of code directly from another working inbound email action. I tried asking on the community forums but was not able to solve the issue. Please see attached screen shots. The issue seems to be on lines 11 and 12 of the inbound email action script. Any help or suggestions are greatly appreciated, thanks.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2019 02:10 PM
Is the task already close when you run this inbound action?
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
‎12-04-2019 10:18 AM
Can you move the current.update() to line 4 above gr.update() and try again?
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
‎12-10-2019 09:56 AM
Hi Sanjiv, I tried doing that with no success either. Thank you for your help on this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2019 02:10 PM
Is the task already close when you run this inbound action?
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
‎12-10-2019 10:03 PM
Yes it is, which I am guessing is the issue now. I just changed my code to update the additional comments in the requested item instead of the task and that worked fine. Thank you very much for your help.
Do you happen to know why I cant add a comment to a closed task from the inbound action?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2019 09:56 AM
There are ACL which will restrict updating a closed task.
Please mark this response as correct or helpful if it assisted you with your question.