Workflows

Create a new workflow

Changed on

Creates a draft workflow in a collection. Publish it to make it executable. Server-side validation (validate=true) checks duplicate/reserved/invalid node ids, missing payloads, and edges referencing missing nodes or functions/flows that do not exist. It does not check for cycles.

post/hub/workflows

Request

Request body

namestring required

Unique within the collection

descriptionstring
collectionstring required

Collection subject: ms.hub.config.collection.workflow.{collection_id} (from listCollections)

secretsstring[]

Secret identifiers used by this workflow

Response

Workflow created successfully

subjectstring

Subject identifier for the workflow

namestring

Name of the workflow

collectionstring

Subject of the collection this workflow belongs to

descriptionstring

Description of the workflow

modifiedinteger

Timestamp of last modification

Changes

    • breaking

      added the new required request property ///

    • breaking

      the request property /// became required

    • breaking

      the request property /// became required

    • breaking

      added the pattern ^ms\.hub\.config\.collection\.workflow\. to the request property

    • breaking

      the /// request property type changed from object to no type

    • breaking

      added to the /// response property oneOf list for the response status

    • breaking

      the /// response's property type changed from object to no type for status

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ////

    • warning

      removed the request property ///

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      added the new normal enum value to the // response property for the response status

    • info

      added the new optional request property

    • info

      added discriminator to /// request property

    • info

      added the new normal enum value to the request property //

    • info

      added to the /// request property oneOf list

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      added discriminator to /// response property for the response status

    • info

      added the required property /// to the response with the status

    • breaking

      the //// request property type changed from object to no type

    • breaking

      the //// request property type changed from object to no type

    • breaking

      the //// response's property type changed from object to no type for status

    • breaking

      the //// response's property type changed from object to no type for status

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status