- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2019 04:03 AM
Hi,
I have a requirement to add a new state to problem. I have created the state model and edited the process flow and created a new ui button as per my requirement but still i am getting "invalid state transition error message". can anyone let me know why this is happening...?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2019 05:02 AM
kindly test it.
i just made the changes in ui action and status model condition for approval .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2020 10:29 PM
Can you provide the code of the UI Action what u guys made.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2019 04:56 AM
Hi,
Can you share the UI action code ?
Thanks
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2019 05:24 AM
function onApproval() {
g_form.setValue("state",'approval');
g_form.save();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 02:23 AM
Check the form view your modal is utilizing - chances are this error shows because there is no 'state' field on that view and the logic cannot read the state the record should transition too.