Task Identity Link

Add

Adds an identity link to a task by id. Can be used to link any user or group to a task and specify a relation.

post/task/{id}/identity-links

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/task/{id}/identity-links
  • Auth: HTTP basic

Path parameters

idstring required

The id of the task to add a link to.

Request body

userIdstring nullable

The id of the user participating in this link. Either userId or groupId is set.

groupIdstring nullable

The id of the group participating in this link. Either groupId or userId is set.

typestring nullable required

The type of the identity link. The value of the this property can be user-defined. The Process Engine provides three pre-defined Identity Link types:

  • candidate
  • assignee - reserved for the task assignee
  • owner - reserved for the task owner

Note: When adding or removing an Identity Link, the type property must be defined.

Response

Request successful.

Changes

No recorded changes to this operation across all 1 revision of this API.