workflows_put {civis} | R Documentation |
Replace all attributes of this Workflow
Description
Replace all attributes of this Workflow
Usage
workflows_put(
id,
name,
description = NULL,
definition = NULL,
schedule = NULL,
allow_concurrent_executions = NULL,
time_zone = NULL,
notifications = NULL
)
Arguments
id |
integer required. The ID for this workflow. |
name |
string required. The name of this workflow. |
description |
string optional. A description of the workflow. |
definition |
string optional. The definition of the workflow in YAML format. Must not be specified if 'fromJobChain' is specified. |
schedule |
list optional. A list containing the following elements:
|
allow_concurrent_executions |
boolean optional. Whether the workflow can execute when already running. |
time_zone |
string optional. The time zone of this workflow. |
notifications |
list optional. A list containing the following elements:
|
Value
A list containing the following elements:
id |
integer, The ID for this workflow. |
name |
string, The name of this workflow. |
description |
string, A description of the workflow. |
definition |
string, The definition of the workflow in YAML format. Must not be specified if 'fromJobChain' is specified. |
valid |
boolean, The validity of the workflow definition. |
validationErrors |
string, The errors encountered when validating the workflow definition. |
fileId |
string, The file id for the s3 file containing the workflow configuration. |
user |
list, A list containing the following elements:
|
state |
string, The state of the workflow. State is "running" if any execution is running, otherwise reflects most recent execution state. |
schedule |
list, A list containing the following elements:
|
allowConcurrentExecutions |
boolean, Whether the workflow can execute when already running. |
timeZone |
string, The time zone of this workflow. |
nextExecutionAt |
string, The time of the next scheduled execution. |
notifications |
list, A list containing the following elements:
|
archived |
string, The archival status of the requested item(s). |
hidden |
boolean, The hidden status of the item. |
myPermissionLevel |
string, Your permission level on the object. One of "read", "write", or "manage". |
createdAt |
string, |
updatedAt |
string, |