Module Values.CreateFlowTemplateRequestSource

Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

Sourcetype nonrec t = {
  1. definition : DefinitionDocument.t;
    (*

    The workflow DefinitionDocument.

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

    The namespace version in which the workflow is to be created. If no value is specified, the latest version is used by default.

    *)
}
Sourceval context_ : string
Sourceval make : ?compatibleNamespaceVersion:??? -> definition:DefinitionDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Version.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