Unarchiver OOTB workflow | Community
Skip to main content
September 19, 2023
Solved

Unarchiver OOTB workflow

  • September 19, 2023
  • 2 replies
  • 699 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ManviSharma

Hi,

 

steps to wait for the unarchived folder to become available before copying in AEM Cloud:

  1. Edit your workflow.

  2. Add a "Delay" step after the unarchiver step.

  3. Configure the delay duration based on folder availability.

  4. Connect the "Copy" operation to the "Delay" step.

  5. Save and publish the updated workflow.

This will ensure the copy operation occurs only after the unarchived folder is accessible.

2 replies

ManviSharma
Adobe Employee
ManviSharmaAdobe EmployeeAccepted solution
Adobe Employee
September 19, 2023

Hi,

 

steps to wait for the unarchived folder to become available before copying in AEM Cloud:

  1. Edit your workflow.

  2. Add a "Delay" step after the unarchiver step.

  3. Configure the delay duration based on folder availability.

  4. Connect the "Copy" operation to the "Delay" step.

  5. Save and publish the updated workflow.

This will ensure the copy operation occurs only after the unarchived folder is accessible.

aanchal-sikka
Community Advisor
Community Advisor
September 20, 2023

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

Aanchal Sikka