
Hi All,
I have been customizing Class PurchReqWorkflow\submit method to run a custom logic, I need WorkflowWorkItemTable buffer based on the match criteria PurchReqTable.RecId == WorkflowWorkItemTable.RefRecId && TableNum(PurchReqTable) == WorkflowWorkItemTable.RefTableId.
I put my code at the end of submit method but it is not returning any record from WorkflowWorkItemTable. It seems record has not been added to this table yet at the end of Submit method.
Would you please guide me where to put this code to get the current record from WorkflowWorkItemTable.
*This post is locked for comments
I have the same question (0)Workflow is not started yet so you will not find record in the workflow work item table.
if you want to do some thing after start of workflow then you have to write to started event handler of class PurchReqWFTypeEventHandler.