- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:16 PM
We have a requirement that when an Incident ticket is in a State of 'On Hold and 'On Hold Reason' is 'Awaiting Caller', when the caller adds additional comments or respond back to an email notification to automatically change the State to 'In Progress'. This is working.
However, after the Incident goes to 'In Progress' State, we cannot choose 'On Hold' state and 'On Hold Reason' of 'Awaiting Caller' again, because the 'On Hold Reason' still has the value in it, and when saving it flips back to 'In Progress'.
I believe the below script that is being used in the Business Rule is where I need to make a change, but I can't determine if that is the place to make a change. And if so, what the change should be. Or, if there is a UI Policy or something else I need to update?
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2022 06:47 AM
Hello -
Thank you everyone for your ideas. I finally got this working by the following:
1) Marked the [Move "On Hold" to "In Progress"] Business Rule from Active = true to Active = false
2) Added the following script to the 'Actions' of the 'Inbound Email Action' of [Update Incident (BP)]:
gr.state = 2;
if (gr.state != 3)
gr.hold_reason = '';
3) Added the following additional action to the 'Incident State Change to In Progress' Business Rule 'Actions':
Set field values of 'On hold reason' To 'None'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 08:58 PM
Hi
Just tested on my PDI, when Comments are updated by Caller, On Hold reason gets cleared automatically and state is set to In Progress.
For your query "However, after the Incident goes to 'In Progress' State, we cannot choose 'On Hold' state and 'On Hold Reason' of 'Awaiting Caller' again, because the 'On Hold Reason' still has the value in it, and when saving it flips back to 'In Progress'."
This is an expected behavior as per the OOB Business rule on Incident table named as "Incident State Change to In Progress" which you have highlighted in your post above.
It will not allow to update the state back to On Hold if caller of the Incident is same as current logged in User which is being checked in the BR condition as shown in Red below:
You need to remove this condition to make it work or modify as per your need.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 06:11 AM
Hi
Unfortunately changing the order of the Actions did not work either.
Roberta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 07:23 AM
Hi
Please see my response above, I have not suggested to change the order of BR or a action.
I am saying you need to remove the condition which is highlighted in Red above by clicking on the cross symbol i.e. you need to remove the condition which says "Caller is (dynamic) Me".
After removing it save the Business Rule and then try again. It will work.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 11:50 AM
Hello
I tried changing the BR 2 different ways as follows, and impersonating a user to enter an incident, and still no luck...
1st - removing the 'When to Run' condition of 'Caller is (dynamic) Me' and adding the 'On hold reason to None' Action:
2nd - removing the 'When to Run' condition of 'Caller is (dynamic) Me' and without the 'On hold reason to None' Action:
Thanks for your assistance thus far.
Any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2022 05:52 AM
This was we can confirm if this is the culprit or not. If this functionality is not needed you can simple deactivate this BR itself as it just set the state back to In progress when current On hold reason is Awaiting caller.
In our project we have deactivate it as it was not meeting our requirement similar to yours.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke