Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Moving unpublished assets to a folder workflow

Avatar

Level 2

Hi,

 

I was hoping that someone could help I haven't created a custom workflow before but I wanted to create one that checks to see if assets is published or not and moves it to a folder if it isn't published, so it can be reviewed. I know that I can use cq:lastReplicationAction that should tell me if an asset is published or unpublished. 

 

Any help or documents would be greatly appreciated. 

 

LB_PC

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi @LB_PC 

 yes you can use cq:lastReplicationAction property to know replication status .

rRefer this documentation: https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/query-builder/impl...

 

and for asset move you can use asset manager api’s moveAsset method

hope this helps!!

Thanks

Dipti

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Hi @LB_PC 

 yes you can use cq:lastReplicationAction property to know replication status .

rRefer this documentation: https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/query-builder/impl...

 

and for asset move you can use asset manager api’s moveAsset method

hope this helps!!

Thanks

Dipti

Avatar

Level 2

I'm sure this method works as well but I guess I'm just not that familiar with the API.

Avatar

Level 2
Hey Dipti, I'm more looking for a workflow that I can run every now and again I saw that there use to be a Move assets workflow tutorial but it's now showing a 404.

Avatar

Community Advisor
HI @LB_PC i dont think there is any OOTB workflow for move assets. You need to write custom process for this