Hello,
I am using unarchiver OOTB workflow and then adding my process to copy the content from unarchivered folder to the desired location. But the the unarchived folder is unavailable to copy from. It appears only after the page refresh. What can be done to wait for unarchived folder to available before copy operation. Thank you. I am using AEM cloud.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
steps to wait for the unarchived folder to become available before copying in AEM Cloud:
Edit your workflow.
Add a "Delay" step after the unarchiver step.
Configure the delay duration based on folder availability.
Connect the "Copy" operation to the "Delay" step.
Save and publish the updated workflow.
This will ensure the copy operation occurs only after the unarchived folder is accessible.
Hi,
steps to wait for the unarchived folder to become available before copying in AEM Cloud:
Edit your workflow.
Add a "Delay" step after the unarchiver step.
Configure the delay duration based on folder availability.
Connect the "Copy" operation to the "Delay" step.
Save and publish the updated workflow.
This will ensure the copy operation occurs only after the unarchived folder is accessible.
Hello @testweewew
Workflow Launcher: At the end of extraction, dam:AssetState is set to "processed".
asset_processing_on_sdk_358:/content/dam/wknd/DSC_0093.zip/jcr:content/renditions/original] com.day.cq.dam.core.impl.AssetProcessingStateManagerImpl Update asset /content/dam/wknd/DSC_0093.zip to state: processed and lastModifiedBy: workflow-process-service, processingId: null
We can create a new launcher, which triggers when dam:AssetContent is updated and dam:AssetState is set to processed.
post-processing workflows (recommended):
In cloud, we also have post-processing workflows. Those can be explored as well
Views
Likes
Replies