paed01/bpmn-engine

Could not resume the process. Throws Error: Nothing to resume

Closed this issue · 1 comments

Hi,

I have a process where I saved the state in wait event of user task and restarted the application. when restarted, using the saved state tried to recover the engine and resume it, But the following error happens Error: Nothing to resume. I tried for multiple processes, still the result is same.

Thanks,

@paed01 We could resolve the previous issue. Now, we have got the issue "Cannot read properties of undefined (reading 'id')".

We are trying to read the state from json file and recover the state.

I can recover the engine from using state if I use the state object directly without saving it. Should there be any options added while serializing and de-serializing JSON of the State object. Please advise. Thanks