Hello, Dax community,
I want to trigger a method which adds the approved lines of the workflow to another table. To achieve this I have added this code to insert method of workflowworkitemtable.
super();
iscorrecttable= this.RefTableId == tableNum(tableUsedinworkflow) ? true : false;
if(iscorrecttable)
{
MYtable::handleWorkflowUser(WorkflowWorkItemInstanceId);
}
It was working fine until recently it missed some lines means approved line are not in required table.
Is there another place where I could add this code (End 3 4 lines) like workflow class.
So that it only trigger upon workflow completion not on approval.
regards,
Khurshid Wali
*This post is locked for comments