| workflows_put_archive {civis} | R Documentation | 
Update the archive status of this object
Description
Update the archive status of this object
Usage
workflows_put_archive(id, status)
Arguments
| id | integer required. The ID of the object. | 
| status | boolean required. The desired archived status of the object. | 
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, |