Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-91387

Update the userId on workflowContext during the assignment of a Workflow Task

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Workflow
    • Labels:
      None

      Description

      The PTR-639 raised a question: should the userId available on the workflowContext be updated along the Workflow Task processing? After discuss it with the Workflow team, the answer for this question is yes, it should be updated. Currently, the userId available on the workflowContext is being updated only when the Workflow Task is completed and not when it's assigned. This userId update was implemented on LPS-85410 to fix an issue, however, according to the actual Workflow lead, this update should be moved from the current code (CompleteTaskMVCActionCommand) to another code (DefaultTaskManagerImpl) to solve this lack of context update on both scenarios, assign task and complete task.

      Note: tests to check the modifications which will be introduced by this ticket should be placed on WorkflowTaskManagerImplTest.

        Attachments

          Activity

            People

            • Assignee:
              renato.rego Renato Rêgo
              Reporter:
              renato.rego Renato Rêgo
              Recent user:
              Lester Pi
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package