- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2017 02:00 PM
I have an Inbound Action already set in place to update the State when a users responds to an email, but we have users going directly into the Incident and added comments. We need to change the state to Customer Responded(33) when this happens as well.
I was think about a Business Rule with a script, but am having a hard time creating it.
I want it to change the state to Customer Responded when the customer adds notes in the additional comment.
current.caller_id && current.comments.changes()
current.state=33
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2017 02:06 PM
Condition of the business rule should be : current.caller_id.sys_id = gs.getUserID() && current.comments.changes()
and the body should contain:
current.state = '33'
This should be a "before" update business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 06:36 AM
The only reason I said this should be a before Business rule is because, you don't have to write an update statement.
Not sure what you are pointing at. Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 06:46 AM
Got it..:) Thank you Abhiram..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 06:55 AM
Thank you, that worked, I just added a condition that Caller Id is dynamic(me) and on update and it worked.
Thanks again,
Sylvia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2019 11:51 AM
I created a business rule and the condition builder to accomplish. Works perfect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2020 06:14 AM
It works perfectly....thank you