I have an OSGi service that uses the WorkflowService API to programmatically trigger the "Update Asset" workflow that's forever been found at:
/var/workflow/models/dam/update_asset
It's missing in AEM Assets as a Cloud Service and I can't find clear documentation on triggering its equivalent. Does anyone here have advice on what needs to be done to trigger this or its equivalent from inside an OSGi service in Assets as a Cloud Service?
Note: The workflow model still exists in the Quickstart Jar from Software Distribution, so everything works fine for me locally.
For context: The reason why we're triggering the workflow is because we have custom OSGi code that pulls proprietary data from other systems and creates and updates both image Assets and Content Fragments. Updated images will create new Revisions of Assets through the AssetsManager API. The Update Asset workflow doesn't seem to fire the way it would if you manually made these same changes, so we're triggering the Update Asset workflow through the API as part of the image update process. It works perfectly on localhost author.
Thanks.
P.S. If someone comes back with "Rebuild the whole thing in Adobe IO microservices", I think I'll have an aneurism.