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

Hi Janos,

Thanks for your comments.

OK, I will try to see the state model.

Do you know the place of the state model script?

BR,

It is not a script, it is pure configuration; look for "State Models" module in the navigator (under application "State Management").

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

Masa4
Giga Contributor

Hi Janos,

Thanks for your comments.

I did not know that!

Is the error message displayed based on that "State models" ?

BR,

 

Yes it is based on these settings.

If the "Enter Condition" is not fulfilled, the error will show up.

That makes it a good idea to base UI Action availability on the state model.