desk.min.js?ver=1537156365.0:7029 Uncaught TypeError: Cannot read property ‘next_state’ of undefined
at Object.get_next_state (desk.min.js?ver=1537156365.0:7029)
at HTMLAnchorElement. (form.min.js?ver=1537156365.0:4242)
at HTMLAnchorElement.dispatch (jquery.min.js:3)
at HTMLAnchorElement.$event.dispatch (report.min.js?ver=1537156365.0:3031)
at HTMLAnchorElement.r.handle (jquery.min.js:3)
Then, the process hangs but continues after 50 seconds. I don’t know what causes the issue.
next_state is a property of the rows you defined in Transitions i.e. where you define On State S1, when you do Action A doc goes to State S2
I think there is an issue with the current action you took on a certain state. It is not able to read the next state. Check if all the states have been correctly defined.
Seems like the issue here is loading of the objects of Workflow. If you click it again and wait for a minute, it will proceed. How can I possibly solve that?
Have you been facing any issues with server performance like slowing down or something ?
However, it may not be a server performance issue but rather the JS response issue. Have you seen if a smaller workflow gives better response. Depending on the error you posted it seemed that some state definition was missing.