Terminate Running workflow using ACS AEM Commons Workflow Instance Remover
Sometimes our authors upload 2k-4k images at a time, which triggers multiple workflows through launchers, as these instances are very high in number, many times they get stuck and the image is unable to be processed.
I am trying to use the ACS AEM Commons’ Workflow Instance Remover, to schedule it to run every hour, and delete the workflow instances if it's in a running state from the last 60 mins. It is working fine, and all the stuck workflow instances are getting deleted.

However, the assets still show an "In Workflow" message, even though the workflow instance is removed from /var/workflow/instance folder.

How can we fix it?