Expand my Community achievements bar.

How to restrict workflow launcher to launch workflow

Avatar

Employee Advisor

Hi ,

I have created a workflow launcher to launch the workflow on following condition - if I create any node (nt:unstructured) under /content/www/xx/yy with name Version1, Version2, Version3 and so on. But , I don't want to launch the workflow if I create any child node(nt:unstructured) under /content/www/xx/yy/Version1 or /content/www/xx/yy/Version2 or /content/www/xx/yy/Version3.

I have tried with following regex at fieldname: Path in Workflow launcher but no luck -

1. /content/www/[^/]*/[^/]*(/.*)(?!/content/www/[^/]*/[^/]*/Version*(/.*))

2. /content/www/xx/yy/Version*(?!/Version*(/.*))

3. /content/www/xx/yy(?!/Version*).*

Node hierarchy has been given below -

       /content/www/xx/yy/Version1

                                      /Version2

                                      /Version3

                                          |

                                          |

                                      /Versionn

Please suggest.

Thanks,

Debal

0 Replies