Interface IWorkflowInvoker

    • Method Detail

      • resolve

        default void resolve​(String result)
        After a workflow invocation has finished successfully it can be resolved. This is introduced to allow workflow calls to be invoked from javascript via a promise API. For backwards compatibility this method has a default implementation.
        Parameters:
        result - The result of a workflow call. Can be null.
        Since:
        14.3
      • reject

        default void reject​(String reason)
        If a workflow invocation has failed it can be rejected. This is introduced to allow workflow calls to be invoked from javascript via a promise API. For backwards compatibility this method has a default implementation.
        Parameters:
        reason - The reason the workflow invocation failed. Can be null.
        Since:
        14.3