Workflow

POST /ver2/WorkflowService.svc/workflows/bulk

envianceSdk.workflows.createWorkflows

[
  [
    {
      "workflowTypeName": "workflow Type Name",
      "name": "workflow name 1",
      "uniqueId": "uniqueId - 0000-1-1",
      "parentWorkflowSourceCustomField": {
        "id": null,
        "name": "UDF name"
      },
      "dueDate": "2013-02-07T00:00:00",
      "comment": "my comment",
      "calendars": [
        "My",
        "Object",
        "System"
      ],
      "objects": [
        "/Generation - 1/NE TV"
      ],
      "documents": [
        "Folder1Document1.txt",
        "Folder1Document2.txt"
      ]
    },
    {
      "workflowTypeName": "workflow Type Name",
      "name": "workflow name 2",
      "uniqueId": "uniqueId - 0000-1-2",
      "dueDate": "2013-02-07T00:00:00",
      "comment": "my comment",
      "calendars": [
        "My",
        "Object",
        "System"
      ],
      "objects": [
        "/Generation - 1/NE TV"
      ],
      "documents": [
        "Folder1Document1.txt",
        "Folder1Document2.txt"
      ]
    }
  ],
  "onsuccess",
  "onerror"
]

envianceSdk.workflows.createWorkflows21

[
  [
    {
      "workflowTypeName": "workflow Type Name",
      "name": "workflow name 1",
      "uniqueId": "uniqueId - 0000-1-1",
      "parentWorkflowSourceCustomField": {
        "id": null,
        "name": "UDF name"
      },
      "dueDate": "2013-02-07T00:00:00",
      "comment": "my comment",
      "calendars": [
        "My",
        "Object",
        "System"
      ],
      "objects": [
        "/Generation - 1/NE TV"
      ],
      "documents": [
        {
          "documentIdOrPath": "Folder1Document1.txt"
        },
        {
          "documentIdOrPath": "Folder1Document2.txt",
          "customFieldIdOrName": "udf-textbox-numeric"
        }
      ]
    },
    {
      "workflowTypeName": "workflow Type Name",
      "name": "workflow name 2",
      "uniqueId": "uniqueId - 0000-1-2",
      "dueDate": "2013-02-07T00:00:00",
      "comment": "my comment",
      "calendars": [
        "My",
        "Object",
        "System"
      ],
      "objects": [
        "/Generation - 1/NE TV"
      ],
      "documents": [
        {
          "documentIdOrPath": "Folder1Document1.txt"
        },
        {
          "documentIdOrPath": "Folder1Document2.txt",
          "customFieldIdOrName": "udf-textbox-numeric"
        }
      ]
    }
  ],
  "onsuccess",
  "onerror"
]

Request

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Request body

Response

not available

EnvianceWorkflowBusinessEngineExecutionContextWorkflowExecutionResult[] required

Changes

No recorded changes to this operation across all 1 revision of this API.