Class AsyncRawWorkflowsClient


  • public class AsyncRawWorkflowsClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncRawWorkflowsClient

        public AsyncRawWorkflowsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> create​(WorkflowsCreateRequest request)
        Create a new workflow. Optionally provide steps to define the workflow's step graph.

        When steps is omitted, the workflow is created with default steps (TRIGGERPARSE). When steps is provided, the step graph is validated and the draft version is populated with the given steps.

        Note: The default steps may change in the future. If your integration depends on a specific step graph, provide steps explicitly.

      • create

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> create​(WorkflowsCreateRequest request,
                                                                                                 RequestOptions requestOptions)
        Create a new workflow. Optionally provide steps to define the workflow's step graph.

        When steps is omitted, the workflow is created with default steps (TRIGGERPARSE). When steps is provided, the step graph is validated and the draft version is populated with the given steps.

        Note: The default steps may change in the future. If your integration depends on a specific step graph, provide steps explicitly.

      • retrieve

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> retrieve​(java.lang.String id)
        Get details of a workflow, including its draft version and steps.
      • update

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> update​(java.lang.String id)
        Update a workflow's draft. You can update the name, the steps, or both.

        When steps is provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.

      • update

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> update​(java.lang.String id,
                                                                                                 RequestOptions requestOptions)
        Update a workflow's draft. You can update the name, the steps, or both.

        When steps is provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.

      • update

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> update​(java.lang.String id,
                                                                                                 WorkflowsUpdateRequest request)
        Update a workflow's draft. You can update the name, the steps, or both.

        When steps is provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.

      • update

        public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<Workflow>> update​(java.lang.String id,
                                                                                                 WorkflowsUpdateRequest request,
                                                                                                 RequestOptions requestOptions)
        Update a workflow's draft. You can update the name, the steps, or both.

        When steps is provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.