Package com.orchestranetworks.workflow

# Interface ProcessLauncherResult

public interface ProcessLauncherResult
Represents the result of a workflow instance launcher

Since:
  5.5.1
See Also:
  - `ProcessLauncher.launchProcessWithResult()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ProcessInstanceKey`
  `getProcessInstanceKey()`
  Returns the key of the launched workflow instance.
  `WorkItemKey`
  `getWorkItemKey()`
  Returns the key of the work item to automatically open.

- ## Method Details

  - ### getProcessInstanceKey

    ProcessInstanceKey getProcessInstanceKey()
    Returns the key of the launched workflow instance.

  - ### getWorkItemKey

    WorkItemKey getWorkItemKey()
    Returns the key of the work item to automatically open.

    If the workflow is defined to automatically open the first step after launching and if the first work item can be allocated to the workflow creator, this method returns the first work item key.

    In others cases, this method returns `null`.