cancel
Showing results for 
Search instead for 
Did you mean: 

Resuming a suspended process instance

davidwaf
Champ in-the-making
Champ in-the-making
Hi all,
What is the API method to resume a suspended process instance:

runtimeService.suspendProcessInstanceById(instanceId)

Thanks.
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Would be good to read the javadocs better… The next method in the service is:


/**
   * Activates the process instance with the given id.
   *
   * If you have a process instance hierarchy, suspending
   * one process instance form the hierarchy will not suspend other
   * process instances form that hierarchy.
   *
   * @throws ActivitiException if no such processInstance can be found or if the process instance is already in state active.
   */
  void activateProcessInstanceById(String processInstanceId);