Expand my Community achievements bar.

Workflow launcher path glob for a specifc folder name ending in a number /content/dam/mysite/myfolder2/testfolder/newtestfolder

Avatar

Level 4

 I am trying to create a workflow launcher path glob for a folder whose name ends with a digit - like -

/content/dam/mysite/myfolder1/testfolder/newtestfolder

/content/dam/mysite/myfolder1/testfolder/newertestfolder

/content/dam/mysite/myfolder2/testfolder/newtestfolder

/content/dam/mysite/myfolder2/testfolder/newertestfolder

So I want a different process to be triggered when a file is uploaded at 

/content/dam/mysite/myfolder1/testfolder/newtestfolder and

when a file is uploaded at

/content/dam/mysite/myfolder1/testfolder/newertestfolder

and again a different process for

/content/dam/mysite/myfolder2/testfolder/newtestfolder 

and a different process for 

/content/dam/mysite/myfolder2/testfolder/newertestfolder

So any number can come after myfolder1 ;myfolder3; myfolder4; myfolder14 and so on..

I tried with the glob patterns -- 

/content/dam/mysite(/myfolder[0-9]/)testfolder/newtestfolder and

/content/dam/mysite/myfolder[0-9]/testfolder/newtestfolder

so that it matches the path ending with /content/dam/mysite/myfolder5/testfolder/newtestfolder ; but the process is not getting triggered when a file is uploaded at the path.

What glob pattern that can be used for matching any number after myfolder in the path

/content/dam/mysite/myfolder(5 or 6 or 11 or 24)/testfolder/newtestfolder 

3 Replies

Avatar

Level 4

Are you able to find answer for this? I am also looking for something like this..

Avatar

Level 2

I am in the same boat and wondering how did you achieve it. Could you please share the glob pattern if it worked.