Interface WorkflowInstanceResult

    • Method Detail

      • getWorkflowKey

        long getWorkflowKey()
        Key of the workflow which this instance was created for
      • getBpmnProcessId

        String getBpmnProcessId()
        BPMN process id of the workflow which this instance was created for
      • getVersion

        int getVersion()
        Version of the workflow which this instance was created for
      • getWorkflowInstanceKey

        long getWorkflowInstanceKey()
        Unique key of the created workflow instance on the partition
      • getVariables

        String getVariables()
        Variables returned after the workflow is completed.
        Returns:
        JSON-formatted variables
      • getVariablesAsMap

        Map<String,​Object> getVariablesAsMap()
        Variables returned after the workflow is completed.
        Returns:
        de-serialized variables as map
      • getVariablesAsType

        <T> T getVariablesAsType​(Class<T> variableType)
        Variables returned after the workflow is completed.
        Returns:
        de-serialized variables as the given type