Interface UserWorkflowTaskService

    • Method Detail

      • getAvailableTasks

        @GET
        @Path("tasks/{userKey}")
        @Produces({"application/json","application/yaml","application/xml"})
        List<WorkflowTask> getAvailableTasks​(@NotNull @PathParam("userKey")
                                             @NotNull String userKey)
        Returns a list of available tasks for the given user key.
        Parameters:
        userKey - user key
        Returns:
        list of available tasks for the given user key
      • executeNextTask

        @POST
        @Path("tasks/{userKey}")
        @Produces({"application/json","application/yaml","application/xml"})
        @Consumes({"application/json","application/yaml","application/xml"})
        UserTO executeNextTask​(@NotNull
                               @NotNull WorkflowTaskExecInput workflowTaskExecInput)
        Executes the next workflow task available, for matching user key.
        Parameters:
        workflowTaskExecInput - input for task execution
        Returns:
        updated user