"At the moment, I am able to approve/reject PO as can I see the status change in WorkflowWorkitemTable (WWT). "
I created a console application to consume the SysWorkflowApprovalService. In the tables the element has the status "Pending" but when i call the applyAction function with the correct parameters (values for context,action,workItemId,networkUserAlias,networkDomain,comment) i get this exception "The Element has already been Approved"
When i change the action to "complete" or "reject" the exception changes to "The Element has already been Rejected"
I tallied the actions from WorkflowAction.Name
Did you face this issue? If yes, how did you overcome it?