We have a custom workflow. As part of workflow, we trigger ACS Asset loader Utility service as REST call to load assets.
And we have offloading author in our env and any asset upload triggers DAM_UPDATE_ASSET_OFFLOADING workflow.
Once we call the REST service to load assets, we keep checking in while loop whether there are any RUNNING instances of DAM_UDDATE_ASSET_OFFLOADING.
We get right count of those instances. However, though the offload workflows gets completed, the custom workflow continues to respond that all instances of OFFLOADING still RUNNING.
Why this is happening? Is there any issue with Worflow Session gets persistent data of Offloading workflow data?