Module Values.UpdateFlowTemplateRequestSource

Updates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.

Sourcetype nonrec t = {
  1. id : Urn.t;
    (*

    The ID of the workflow to be updated. The ID should be in the following format. urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

    *)
  2. definition : DefinitionDocument.t;
    (*

    The DefinitionDocument that contains the updated workflow definition.

    *)
  3. compatibleNamespaceVersion : Version.t option;
    (*

    The version of the user's namespace. If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.

    *)
}
Sourceval context_ : string
Sourceval make : ?compatibleNamespaceVersion:??? -> id:Urn.t -> definition:DefinitionDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Version.t | `String of Urn.t | `Structure of (string * [> `Enum of string | `String of DefinitionText.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t