Specifying arguments to UnarchiverProcess step | Community
Skip to main content
May 28, 2020
Solved

Specifying arguments to UnarchiverProcess step

  • May 28, 2020
  • 2 replies
  • 10600 views

Hello All

 

I have created a new workflow and have added a "DAM Unarchiver Process"(com.day.cq.dam.core.process.UnarchiverProcess) step in it. The workflow works fine and does its job. E.g. when I upload a zip file, it extracts the contents by creating a new folder. However, I am not able to set additional arguments which it supports.

 

I want to set removeOriginal=true and updateMode=OVERWRITE. When I set these arguments from process step, those don't get applied. I tried following syntaxes to set the arguments but it never works. Is this an issue in this step? Please help.

  1. removeOriginal=true,updateMode=OVERWRITE
  2. removeOriginal:true,updateMode=OVERWRITE

I have even tried to run this workflow programmatically and tried to set the arguments in respective map(PROCESS_ARGS) but even that does not work

 

Thanks

Ganesh

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 Vijayalakshmi_S

Hi @gkkhatal,

Process arguments are comma separated pairs, where each pair consists of name and value separated by double colon.

In this case, can you try adding removeOriginal::true,updateMode::OVERWRITE

 

2 replies

Adobe Employee
May 28, 2020

What version of AEM ?

Can you check the logs and verify any relevant entries in the log ?

gkkhatalAuthor
May 29, 2020
Hello @hamid1350, I am using AEM6.5. I have enabled debug logging and I am still seeing default arguments and not the provided arguments
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
May 29, 2020

Hi @gkkhatal,

Process arguments are comma separated pairs, where each pair consists of name and value separated by double colon.

In this case, can you try adding removeOriginal::true,updateMode::OVERWRITE

 

gkkhatalAuthor
May 29, 2020
Thanks for your response. I tried this but still its taking the default arguments and not the provided arguments 😞