AEMasCS - programatically publish to Brand Portal
Hi all,
i'm trying to automatically publish assets to brand portal when a user upload them to a desired folder
Basically i added the following configuration to the Custom Dam Workflow runner
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" jcr:primaryType="sling:OsgiConfig" postProcWorkflowsByExpression="[/content/dam(/.*/)bp-digital(/.*):/var/workflow/models/asset-publish-to-brand-portal]"/>
and the workflow models has:
Create Version -> Scheduled Publish to Brand Portal -> DAM Update Asset Workflow Completed
but the issue is when i try to deploy it with cloud manager pipeline, i have the following validation error
The workflow process definition at /conf/global/settings/workflow/models/asset-publish-to-brand-portal/jcr:content/flow/process_1138020458 [Publish Asset] uses a workflow process com.day.cq.dam.core.process.ScheduledPublishBPProcess which is not supported on AEM as a Cloud Service.
i was also reviewing the executed JS code when we use the Touch UI and Publish asset to brand portal and it is doing a post to a servlet, should i use something similar to that?
Thanks in advance