IS it possible to execute a watch from another watch

Hi,

If a condition is met in watchA , i want to execute another watch say watchB from the existing watchA.

Hey,

you could run the execute watch API inside of that, but I'd personally try not to do that.

Can you explain the use-case a little bit more? Maybe there is another way of doing things.

--Alex

What you are asking for is not possible.

When asking for an explanation I was not interested in the technical merits, but more in the concrete use-case from a business/requirements perspective. Why do you want to create a new index in the first place? Why is this needed, as you can just index a document into an index and it will be auto created. Why cant you just have another watch run continously checking for that index and if it contains any documents and then act for it, so you dont have to trigger it?

--Alex

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.