I am working on leave request approval workflow.
Our requirement is to send only notification email in case of deletion of request. We have two sets of request type. One is for which approval not required and other one for which approval required ( settings done in customization PTARQ ).
Now when i delete posted request for which approval is not required, as it is pre approved, its status on levae overview page is Approved and my workflow works fine with its withdrawn status. and we are able to post the request.
But the problem is in case of deletion of request where approval is required. after deletion its status on leave overview page is SENT and it creates new workitem and send it to approver for approval process. This is where its going wrong. As its still in SENT status we are not able to post the request.In workflow i will be able to manage somehow to send notification email instead of workitem, but because of the SENT status in portal, the request will not be posted.
Could you please help me here? Please let me know how to handle this kind of situation.
Thanks in advance. 😊