Interface JavaProcess

  • All Known Subinterfaces:
    JavaProcessExt

    public interface JavaProcess
    Deprecated.
    Use WorkflowProcess instead.
    JavaProcess is the interface for is used for automatic workflow steps implemented in Java. Classes implementing this interface define Java based processes that can be attached to a WorkflowNode and executed by the workflow engine.
    See Also:
    WorkflowProcess
    • Method Detail

      • execute

        void execute​(WorkItem item,
                     WorkflowSession session)
              throws java.lang.Exception
        Deprecated.
        Executes a new Java process with the given WorkItem and WorkflowSession.
        Parameters:
        item - The WorkItem that defines the newly started JavaProcess.
        session - The WorkflowSession that is used for starting the JavaProcess.
        Throws:
        java.lang.Exception - Thrown in case something goes wrong during execution.