How to change state of problem record to closed when it is not resolved state?

Masa4
Giga Contributor

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,

1 ACCEPTED SOLUTION

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.

find_real_file.png

View solution in original post

15 REPLIES 15

Masa4
Giga Contributor

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,

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.

Masa4
Giga Contributor

Where are you pointing to "tick a checkbox"?

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.

Masa4
Giga Contributor

OK, I got it.

Thanks for your comments.

BR,