Class RawWorkflowVersionsClient


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

      • RawWorkflowVersionsClient

        public RawWorkflowVersionsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public ExtendClientHttpResponse<WorkflowVersion> create​(java.lang.String id)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public ExtendClientHttpResponse<WorkflowVersion> create​(java.lang.String id,
                                                                RequestOptions requestOptions)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public ExtendClientHttpResponse<WorkflowVersion> create​(java.lang.String id,
                                                                WorkflowVersionsCreateRequest request)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public ExtendClientHttpResponse<WorkflowVersion> create​(java.lang.String id,
                                                                WorkflowVersionsCreateRequest request,
                                                                RequestOptions requestOptions)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • retrieve

        public ExtendClientHttpResponse<WorkflowVersion> retrieve​(java.lang.String id,
                                                                  java.lang.String versionId)
        Get a specific version of a workflow, including its step definitions.

        The versionId parameter accepts:

        • "draft" — returns the current draft version
        • A version number (e.g. "1", "2") — returns that deployed version
        • An internal version ID (e.g. "workflow_version_abc123") — returns that specific version
      • retrieve

        public ExtendClientHttpResponse<WorkflowVersion> retrieve​(java.lang.String id,
                                                                  java.lang.String versionId,
                                                                  RequestOptions requestOptions)
        Get a specific version of a workflow, including its step definitions.

        The versionId parameter accepts:

        • "draft" — returns the current draft version
        • A version number (e.g. "1", "2") — returns that deployed version
        • An internal version ID (e.g. "workflow_version_abc123") — returns that specific version