title: Camunda recover process from end state
body: <p>given the following PoC of Camunda process defined as it follows in Camunda Modeler:</p>
  <p><a href="https://i.stack.imgur.com/nUTGN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nUTGN.png" alt="enter image description here" /></a></p>
  <p>Is there a way to recover the process instance execution from status EXPIRED to IDLE? And if positive, how exactly?</p>
  <p>More info:</p>
  <ol>
  <li>TIMEOUT is a TIMER BOUNDARY EVENT that after N days makes the process evolve in state EXPIRED.</li>
  <li>EXPIRED is a TERMINATE END EVENT.</li>
  <li>IDLE is an USER TASK</li>
  </ol>
  <p>Maybe a combination of both <a href="https://docs.camunda.org/manual/7.17/reference/rest/process-definition/post-restart-process-instance-sync/" rel="nofollow noreferrer">https://docs.camunda.org/manual/7.17/reference/rest/process-definition/post-restart-process-instance-sync/</a> and <a href="https://docs.camunda.org/manual/7.17/reference/rest/process-instance/post-modification-async/" rel="nofollow noreferrer">https://docs.camunda.org/manual/7.17/reference/rest/process-instance/post-modification-async/</a> fits my case but I'm not certain.</p>
  <p>This is a PoC, in real life scenario we could have lot of intermediate steps with lot of input data coming from customers, including file uploads.</p>
  <p>Thanks in advance.</p>