cancel
Showing results for 
Search instead for 
Did you mean: 

Create business rule task in alfresco workflow

seif
Confirmed Champ
Confirmed Champ

Hello everybody,

I want to create a business rule task in my alfresco workflow (not standalone activiti). The first question: is that possible?

I try to do that but when the workflow arrive to the business rule task this error is shown:

org.activiti.engine.ActivitiException: deployment 23701 doesn't contain any rules.

Thanks.

11 REPLIES 11

seif
Confirmed Champ
Confirmed Champ

thank you

thuynh
Star Contributor
Star Contributor

Hi Seif _ ,

Yes it is possible to create business rule task with the Alfresco Activiti. However, it is recommended to use the Decision Task with Decision Table with Alfresco Activiti. Have a look at the documentation about Business Rule Task here Alfresco Activiti. So, in order to implement process rules, you should use the Business Decision Table as documented here Alfresco Activiti

It should work if you follow the instruction carefully. 

I attached a recording of my successful execution of a sample process with a business rule table. 

About your error message

org.activiti.engine.ActivitiException: deployment 23701 doesn't contain any rules.

Have you run the process definition validation utility to see if your process definition is correct? Looks like you're missing an implementation of the rule task. How did you define your rule task in your process?

Hope this helps,

Thanks

Thong Huynh