Unable to change Problem State from "New" to "Assess"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:01 AM
Hi,
I am trying to update the problem state from new to access through script and I am getting below error.
"Invalid state transition. Can not update from state 'Assess' to state '(-4)' with given values."
I tried changing the value to 102. It doesn't give error but it doesn't change the state either.There is one more value 152 for Assess . Tried that and it throws error.
Please advise
Thanks & Regards,
Sameer Sudan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:10 AM
Hi,
you need to check the State Model, please refer to the solution proposed here:
If I have answered your question, please mark my response as correct and/or helpful.
Thank you very much
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:12 AM
Check business rule 'task closer' is running on problem which restricts state transition.
You can see code in this business rule for your error.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:25 AM
I disabled this "task closer" BR . Its still throwing the same error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:34 AM
Don't disable this OOB business rule since it may break other functionality.
For your issue, you should deactivate state transition rule for your state.
Regards,
Sachin