workflows_post_clone {civis} | R Documentation |
Clone this Workflow
Description
Clone this Workflow
Usage
workflows_post_clone(id, clone_schedule = NULL, clone_notifications = NULL)
Arguments
id |
integer required. The ID for the workflow. |
clone_schedule |
boolean optional. If true, also copy the schedule to the new workflow. |
clone_notifications |
boolean optional. If true, also copy the notifications to the new workflow. |
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, |