Launcher Issue with Regex Pattern | Community
Skip to main content
sambasivarajar4
October 5, 2020
Solved

Launcher Issue with Regex Pattern

  • October 5, 2020
  • 1 reply
  • 937 views

Hi Team , 

 

I have a usecase to activate the all the images created under certain path , So I have created a generic launcher with OOTB Activation Model  .. But activation is not triggered when i use the regex pattern in launcher with dam:Asset combination , it always expect the absolute path .Is there any solution for this

Folder to be activated 

/content/dam/we-retail/products

/content/dam/geometrrix/products

 

Listener Properties 

Event Type: Created

NodeType :dam:Asset

path:/content/dam(/.*/)products

Workflow :Activation Model

 

 

 

 

 

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 @sambasivarajar4,

Can you try the launcher properties similar to definition for "DAM Update Asset" Workflow

Event : Created

Type : nt:file

Path : /content/dam(/.*/)products(/.*/)renditions/original

In this case, payload path will be the asset path till original node. Perhaps you can write a custom process step for activation/replication by retrieving the main asset path from workflow payload and Replicator API

 

1 reply

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
October 6, 2020

Hi @sambasivarajar4,

Can you try the launcher properties similar to definition for "DAM Update Asset" Workflow

Event : Created

Type : nt:file

Path : /content/dam(/.*/)products(/.*/)renditions/original

In this case, payload path will be the asset path till original node. Perhaps you can write a custom process step for activation/replication by retrieving the main asset path from workflow payload and Replicator API