---
schema_version: "1"
id: bda9f8f4c4aa51f22bd1c49bb232b5a8e9d3c92ce1ca72ddf9d48b037f51197f
title: ConnectApi.OrchestrationWorkItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_flow_orchestration_work_item.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_flow_orchestration_work_item.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0ce27d385962273c1c3304c044763604488a37815d18da841a20cf4f2d83ffd6
description: Orchestration work item.
---
# ConnectApi.OrchestrationWorkItem

Orchestration work item.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1012534e27">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d1012534e29">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d1012534e31">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d1012534e33">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">assigneeId</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="assigneeId"><a name="assigneeId"><!-- --></a>ID of the assignee for the orchestration work
                  item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">createdDate</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">Datetime</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="createdDate"><a name="createdDate"><!-- --></a>Date when the orchestration work item was
                  created.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">61.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">description</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="description"><a name="description"><!-- --></a>Description of the orchestration work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">flowType</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="FlowType"><a name="FlowType"><!-- --></a>Flow type of the orchestration that created the orchestration
                  work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">62.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">id</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="id"><a name="id"><!-- --></a>ID of the orchestration work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">label</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="label"><a name="label"><!-- --></a>Label key for the orchestration work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">lastModifiedDate</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">Datetime</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="lastModifiedDate"><a name="lastModifiedDate"><!-- --></a>Date when the work item was last
                  modified.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">61.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">relatedRecordId</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="relatedRecordId"><a name="relatedRecordId"><!-- --></a>ID of the record the orchestration work item is
                  related to.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">screenFlow​DeveloperName</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="screenFlowDeveloperName"><a name="screenFlowDeveloperName"><!-- --></a>Developer name of the screen flow to start
                  when assignees work on the orchestration work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">screenFlowId</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="screenFlowId"><a name="screenFlowId"><!-- --></a>ID of the screen flow to start when assignees work on the
                  orchestration work item.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">screenFlowInputs</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type">String</td>

              <td class="entry" headers="d1012534e31" data-title="Description"><span class="ph" id="screenFlowInputs"><a name="screenFlowInputs"><!-- --></a>Input parameters for the screen flow.</span></td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1012534e27" data-title="Property Name"><samp class="codeph apex_code">status</samp></td>

              <td class="entry" headers="d1012534e29" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#OrchestationWorkItemStatusEnum"><samp class="codeph apex_code">ConnectApi.​OrchestrationWork​ItemStatus</samp></a></td>

              <td class="entry" headers="d1012534e31" data-title="Description">Status of the orchestration work item. Values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph apex_code">Assigned</samp></li>
                  <li class="li"><samp class="codeph apex_code">Completed</samp></li>
                </ul>
              </td>

              <td class="entry" headers="d1012534e33" data-title="Available Version">54.0</td>

            </tr>

          </tbody>
        </table>

#### See Also

- [ConnectApi.OrchestrationStepInstance](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_flow_orchestration_step_instance.htm "Orchestration step instance.")