- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 07:16 AM
Hi All,
As per the customer requirement I have to change the state and Additional comment on incident table when customer replies to email. So I am able to update Additional comment field as per the email replies. But I am not able to update value of 'state' or 'incident_state'. I am also getting the exact value in logs.
This is my Inbound Action:
Please response if you have any idea how to resolve this.
Thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 07:52 AM
Hi,
Probably some of the Business Rule, Script include restricts to update the field values in this type of scenarios.
Do one thing try add "current.setworkflow(false)" before the current.update().
If the state updated then you will be sure that some scripts restricting to do that.
Then you can find out that script and make your changes accordingly.
If this approach of debugging works for you then please mark my answer correct and helpful.
Thanks,
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 07:30 AM
Hi,
Please check the label of value "10" for state and incident_state field on Incident form page.
check on sys_choice table for these values.
gs.info will keep print same value current.state and current.incident_state until code is not complete executed.
Thanks,
Ashish
Please mark correct answer and helpful for others if it helps you.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 08:16 AM
Yes I checked those value from dictionary also it is '10' for 'customer update'.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 07:52 AM
Hi,
Probably some of the Business Rule, Script include restricts to update the field values in this type of scenarios.
Do one thing try add "current.setworkflow(false)" before the current.update().
If the state updated then you will be sure that some scripts restricting to do that.
Then you can find out that script and make your changes accordingly.
If this approach of debugging works for you then please mark my answer correct and helpful.
Thanks,
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2022 08:13 AM