IgorOK
IgorOK

Reputation: 1662

Camunda custom candidate task property

I am new in Camunda.

Could you please tell me whether it is possible to add custom property 'camunda:candidateUsersReadOnly' something like:

<bpmn:userTask id="Task_1eqdx5t" name="task name" camunda:candidateUsers="IC754VBA08D5UC93XE,IC754VBA08D5UC93ZC" camunda:candidateUsersReadOnly="IC754VBA08D5UC93XE,IC754VBA08D5UC93ZC">

and then call getTaskService().getIdentityLinksForTask(taskId) to get ids defined in 'camunda:candidateUsersReadOnly' ?

Thanks!

Upvotes: 1

Views: 498

Answers (1)

Jan Galinski
Jan Galinski

Reputation: 11993

Pretty sure you can't use a custom camunda: namespace attribute. But maybe you could achieve your goal by using extension elements.

You can add them on the "extension" tab of the properties panel in the modeler.

See Extension Elements for documentation and samples.

Upvotes: 2

Related Questions