Add state to closed states
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 01:08 AM
Hi,
I want to add the new state (invalid/Junk - Value = 😎 on the incident table to the closed states. If the state is choosen, the active flag should be false, if the state is changed again (e.g. to new) then the active flag should be true again.
Best regards, Tim
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 02:15 AM
Hi Tim,
What you can do is, right click on the close_codes field and use Personalize Choices to add this new field. You can go to the dictionary entry for close_codes and change the value for this choice if you want. Once this is done, you can write a before update business rule with the below code:-
if(current.close_code.changesTo('<value of the new choice>')){
current.active=true;
}
if(current.close_code.changesFrom('<value of the new choice>')){
current.active=false;
}
Thanks & Regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 02:17 AM
Hi,
the close_code field is not part of this configuration.
Best regards, Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 02:29 AM
Tim, you can replace close_code in the above code with the column name of the choice list were you will be adding this new choice.
Thanks & Regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2014 02:19 AM
"Do you have any Idea what could block this behavior?"
Not off hand Tim, but I'll take a look at it myself as I've only researched this functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2014 07:23 AM
you getthe solution for this problem ? I have the same problem with change !