cancel
Showing results for 
Search instead for 
Did you mean: 

Need to track start/ end + completion/ rejection of work items. Can I use tasks for that

shikarishambu
Champ in-the-making
Champ in-the-making
I have a business process where at different steps different action items need to be completed. We don't want to have users claim each task. The users may mark the action items as complete or the system at different points evaluate if the action items are complete and mark it as such. We also have situations where the user might explicitly reject an action item (even though it has not been claimed/ assigned). Is this something that can be done efficiently through Activiti tasks. When the user marks the item as "complete" or "rejected" we will assign the user/date to the task. A rejected item is considered a completed item but it won't have associated data. So, a "reject" indicates to the system to stop looking for data associated with that item.

I think most of it can be done. However, I am not sure how to mark an action item/ task as "rejected"

Thanks
5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You can store rejected as an output of the task in the process variable (or external system)

Regards
Martin

Hi Martin,
Thanks for the information. I was hoping I could still with task status rather than checking a different variable. Do you think this might be a future enhancement? I can see situations where when a task is "rejected" further processing/ workflow actions need to happen.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

What should happen in the workflow execution when task is rejected?

Regards
Martin

shikarishambu
Champ in-the-making
Champ in-the-making
I think there would be steps defined if task is rejected. For example, it might be as simple as the assigned task will go back to a pool or be re-assigned to someone other than who was assigned. Or, it might be more complex as initiating an alternate/ exception flow on task rejection.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
In that case you can describe behavior in the process model. Use process variable (rejected/accepted) to drive the process instance execution.

Regards
Martin