( We are using Java SDK and this question is in that context )
I read that if the worker dies and is started again, the workflow will resume.
- How is this possible considering that WF is Java? What if it was in the middle of a for() loop ? Will it resume from the exact position loop was in when the worker crashed?
- Will the workflow private variables be restored when Workflow is resumed? What about Java volatile variables?
- Will the search attributes be restored on the Workflows?