- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 03:15 AM
I would like to change state to close when I get solution in the middle of supporting problem without worrying the state and processing state model.
Therefore I created the UI Action for changing state to closed.
But I get the error message and state is not changed when I click this button on the form.
ERROR MESSAGE: Invalid state transition. Can not update from state 'New' to state 'Closed' with given values.
Do you have good any ideas to implement this feature?
BR,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 05:06 AM
Then look for the entry where the table is "problem" open it; in the "State Transitions" related list pick the "Closed" state, open it and adjust "Enter Condition" to allow entering from as many states as you need to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 05:57 AM
Great!
It is matched my use cases.
I will change the value of "Enter Condition" on "Closed" to contain "New" state.
Do you have the points to be careful of above change?
BR,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 06:03 AM
Just that if the stake holders want a better control of this, maybe make the user that wants to directly close a Problem, to 1st tick a checkbox and make that part of the Enter Condition (in the State Model) that allows moving form New directly to Closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 04:21 PM
Where are you pointing to "tick a checkbox"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2021 11:17 PM
Again, this is totally optional, only if the process needs it. You would create a new field of True/False type called something like "I know this is not normal, but I'm sure I want to Close this problem".
Then you could use this check box in the Enter Condition of the Closed state.
Something like
[ State ] [ is one of] [ Review
Investigate
Pending Action
Resolved ]
[ Add "OR" Clause ]
[ State ] [ is ] [ New ] [ AND ]
[ Your Check Box ] [ is ] [ true ]
But, again, this is just cherry on the cake, totally technically not necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2021 02:10 AM
OK, I got it.
Thanks for your comments.
BR,