Get workflow module production ready (MGNLWORKFLOW-66)

[MGNLWORKFLOW-96] Cleanup human tasks, workItems and processInstances - terms and wiring Created: 24/Jul/13  Updated: 30/Jul/13  Resolved: 25/Jul/13

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Sub-task Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 Description   

We currently don't properly use terms around the above mentioned objects. e.g. we're using taskId at many places where we're actually operating with workItemId's.

In addition we're maintaining our own mapping of workItemIds to processInstanceIds while workItems know what processInstanceId the belong to. Hence that mapping can be dropped by simply acquiring the corresponding workItem from the WorkItemManager.



 Comments   
Comment by Espen Jervidalo [ 29/Jul/13 ]

some review remarks already discussed, and postponed:
info.magnolia.module.workflow.commands.CompleteTaskCommand
taskId reference -> workItem?
CompleteWorkItemCommand?
can we pass only

info.magnolia.module.workflow.DefaultWorkflowManager#completeWorkItem
only pass workItem to method, resolve workflow instance internally?

Generated at Mon Feb 12 10:06:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.