SetAssigneeResponse

SetAssigneeResponse Type

Audience: Programmer

Response type returned by the setAssignee mutation containing the updated assignee information.

Fields

Field
Type
Description

assignee

String!

The user ID of the assigned user after the update operation

Usage

This type is returned by the setAssignee mutation after successfully updating a workflow's assignee.

GraphQL Response Example

{
  "data": {
    "setAssignee": {
      "assignee": "user_456789"
    }
  }
}

Field Details

assignee

Contains the user ID string of the user who is now assigned to the workflow. This will be:

  • The explicitly provided assigneeID if one was specified in the input

  • The current authenticated user's ID if assigneeID was null or omitted

  • The value returned reflects the actual state after the Temporal workflow update completes

Example Usage in Code

Last updated

Was this helpful?