Why I get the message "[TaskName] should be a service or script task to have a BPMN2 compliant design"?

1
0
-1

I have a process. First step is a human task node. And I have a connector defined on the task node to retrieve some transient data from db to use on the form. But I got this little "i" on the right bottom corner of the task notation and says it should be a service or script node. I don't understand the meaning of that, what should I do to eliminate that warning and have a BPMN2 compliant design?

1 answer

1
0
-1
This one is the BEST answer!

According to BPMN2 you should not have connectors on human tasks as this takes away from the concept of what is a human task.

To remove this you should add a service task before the Human Task and attach the connector to it, fill inf the variables and then use them in the human task.

The connectors on human tasks is what I would call a Bonita Extension to BPMN2.

Hope this helps regards Seán

Comments

Submitted by silverhoof on Sun, 09/07/2014 - 13:42

Thanks,now I get it. But it is a really nice feature to be able to do something before or after user task without have to add more nodes in the diagram.

Submitted by josegante on Fri, 07/22/2016 - 09:27

I have this case and in my connector I'm sending an email using variable "taskAsigneeId".

How could I transform this to a BPMN2 compliant, I mean...move the connector to a service task?

Best regards,
Jose.

Notifications