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

cancel
Showing results for 
Search instead for 
Did you mean: 
chandanmb1
Active Member

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

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
gdharley
Intermediate

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

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

What are you trying to achieve?

Greg

thuynh
Established Member II

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

Hi chandanmb _ ,

We are confused by your question.

Have you looked at the Activiti documentation Alfresco Activiti ? 

Thanks,

Thong

chandanmb1
Active Member

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

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

thuynh
Established Member II

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

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