Workflow Activity do not pass PO from Workflow Process

Description

Ive found out that calling method MWorkflow.runDocumentActionWorkflow(po, docAction); when using REST plugin will not update po Object after method is finished which cause that we return Object with old data.
Reproducible on https://demo.globalqss.com/

I found cause of it. Workflow Process is not passing PO to Workflow Activity which cause that Document is Completed but Original PO object have old Data.
Constructor MWFActivity (MWFProcess process, int AD_WF_Node_ID) did not pass PO from WFProcess.

Shugested change is to pass PO from MWFProcess in MWFActivity constructor.

Environment

8.2 qss

Activity

Show:

Carlos Ruiz April 2, 2021 at 8:36 AM

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 26, 2021 at 2:20 PM
Updated June 1, 2021 at 6:06 PM
Resolved April 8, 2021 at 3:30 PM