cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Custom Identity Link Types

jorell
Champ in-the-making
Champ in-the-making
Hi
I am looking into extending Activiti's IdentityLinkTypes based on the documentation here:
http://www.activiti.org/userguide/#bpmnUserTaskUserCustomIdentityLinkAssignmentExtension

The documentation seems incomplete since it does mention that I need to extend the IdentityLinkType class but doesn't mention how I plug this into the ProcessEngine. How do I make activiti aware of my custom identity link types?
Thanks
2 REPLIES 2

jorell
Champ in-the-making
Champ in-the-making
Anyone?

balsarori
Champ on-the-rise
Champ on-the-rise
You can use custom identity link types directly in your process definitions xml. Here is a bpmn xml example with a unit test using a custom identity links:

https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/test/resources/org/acti...

https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/test/java/org/activiti/...