## Uses of Class
org.jbpm.services.api.ProcessInstanceNotFoundException

- Packages that use ProcessInstanceNotFoundException
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.impl |
  org.jbpm.kie.services.impl.admin |
  org.jbpm.services.api.admin |

- - ### Uses of ProcessInstanceNotFoundException in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that throw ProcessInstanceNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseService.`addDynamicTask​(Long processInstanceId, TaskSpecification taskSpecification)` | Adds new user task to specified process instance.

  - ### Uses of ProcessInstanceNotFoundException in org.jbpm.casemgmt.impl

    Methods in org.jbpm.casemgmt.impl that throw ProcessInstanceNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseServiceImpl.`addDynamicTask​(Long processInstanceId, TaskSpecification taskSpecification)` |

  - ### Uses of ProcessInstanceNotFoundException in org.jbpm.kie.services.impl.admin

    Methods in org.jbpm.kie.services.impl.admin that throw ProcessInstanceNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ProcessInstanceAdminServiceImpl.`cancelNodeInstance​(long processInstanceId, long nodeInstanceId)` |
    `Collection<NodeInstanceDesc>` | ProcessInstanceAdminServiceImpl.`getActiveNodeInstances​(long processInstanceId)` |
    `Collection<ProcessNode>` | ProcessInstanceAdminServiceImpl.`getProcessNodes​(long processInstanceId)` |
    `Collection<TimerInstance>` | ProcessInstanceAdminServiceImpl.`getTimerInstances​(long processInstanceId)` |
    `void` | ProcessInstanceAdminServiceImpl.`retriggerNodeInstance​(long processInstanceId, long nodeInstanceId)` |
    `void` | ProcessInstanceAdminServiceImpl.`triggerNode​(long processInstanceId, long nodeId)` |
    `void` | ProcessInstanceAdminServiceImpl.`updateTimer​(long processInstanceId, long timerId, long delay, long period, int repeatLimit)` |
    `void` | ProcessInstanceAdminServiceImpl.`updateTimerRelative​(long processInstanceId, long timerId, long delay, long period, int repeatLimit)` |

  - ### Uses of ProcessInstanceNotFoundException in org.jbpm.services.api.admin

    Methods in org.jbpm.services.api.admin that throw ProcessInstanceNotFoundException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ProcessInstanceAdminService.`cancelNodeInstance​(long processInstanceId, long nodeInstanceId)` | Cancels node instance with given id within given process instance.
    `Collection<NodeInstanceDesc>` | ProcessInstanceAdminService.`getActiveNodeInstances​(long processInstanceId)` | Returns all active node instances in given process instance;
    `Collection<ProcessNode>` | ProcessInstanceAdminService.`getProcessNodes​(long processInstanceId)` | Returns all process nodes found in given process instance.
    `Collection<TimerInstance>` | ProcessInstanceAdminService.`getTimerInstances​(long processInstanceId)` | Returns active timers for given process instance.
    `void` | ProcessInstanceAdminService.`retriggerNodeInstance​(long processInstanceId, long nodeInstanceId)` | Retriggers (which includes cancel) node instance given with node instance id within process instance.
    `void` | ProcessInstanceAdminService.`triggerNode​(long processInstanceId, long nodeId)` | Triggers node to create new node instance with node id within process instance.
    `void` | ProcessInstanceAdminService.`updateTimer​(long processInstanceId, long timerId, long delay, long period, int repeatLimit)` | Updates active timer identified by timer id with delay that is given in seconds.
    `void` | ProcessInstanceAdminService.`updateTimerRelative​(long processInstanceId, long timerId, long delay, long period, int repeatLimit)` | Updates active timer identified by timer id with delay that is given in seconds and is relative to current time.