Create Workflow Activity History
create_workflow_activity_historyRecords a workflow activity to transition the workflow instance to the next state by providing required IDs and optional comments.
Instructions
Perform a workflow activity. Workflows Instances transition between states when all required activities have been performed. Use this to create a new Workflows in Procore. Creates a new Workflows and returns the created object on success (HTTP 201). Required parameters: workflow_instance_id, company_id, workflow_activity_id, workflow_instance_id, workflow_user_role_id, performed_by_id. Procore API: Core > Workflows. Endpoint: POST /rest/v1.0/workflow_activity_histories
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_instance_id | Yes | JSON request body field — workflow Instance ID | |
| company_id | Yes | Query string parameter — unique identifier for the company. | |
| workflow_activity_id | Yes | JSON request body field — workflow Activity ID | |
| workflow_user_role_id | Yes | JSON request body field — workflow User Role ID | |
| performed_by_id | Yes | JSON request body field — login Information ID of a Workflow User Role Login Information. | |
| comments | No | JSON request body field — the comments for this Workflows operation | |
| attachments | No | JSON request body field — attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as files. |