cancel
Showing results for 
Search instead for 
Did you mean: 

Will the DB gets crashed if I hard delete a row from ACT_RU_TASK table ?

chandanmb1
Champ on-the-rise
Champ on-the-rise

Hi,

I don't want an activity to be executed in my workflow. So, I want to delete the activity from the ACT_RU_TASK table.

Will this cause any problem for the remaining flow from being executed ? If so, what is the work around for executing other activities with out affecting the workflow ? Please suggest some ideas 

4 REPLIES 4

gdharley
Elite Collaborator
Elite Collaborator

You WILL corrupt your database if you simply delete a row from ACT_RU_TASK.

What are you trying to achieve?

Greg

Hi,

Workflow Image

Above is my sample workflow.

When i complete second activity, In my ACT_RU_TASK table it shows 2 entries Third and Fourth.

Based on some condition, i need to execute Third activity not Fourth. Once Third is complete, fifth then Seventh and so on.

Basically i don't want to execute Fourth,Sixth lane. So, i tried deleting the entry of Fourth Activity from the table.

Please suggest me the better approach

Hi chandanmb _ ,

What you need is Exclusive Gateway after the 'Second' user task to decide which path to take.

Please read the docs Activiti User Guide . 

Thanks,

Thong Huynh

thuynh
Star Contributor
Star Contributor

Hi chandanmb _ ,

We are confused by your question.

Have you looked at the Activiti documentation Alfresco Activiti ? 

Thanks,

Thong

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.