AnsweredAssumed Answered

Using QueryBased crons in a multi-tenant environment

Question asked by viv on Aug 25, 2009
Hi,

I'm trying to use the CronScheduledQueryBasedTemplateActionDefinition class to execute some actions at regular intervals, based on a Lucene query.

The code works perfectly fine in a single tenant environment, but I'm having problems in multi tenant environments. The query is executed once, in the default tenant, and the nodes located in other tenants are never selected.

Is there a way to use this class in a multi-tenant environment ? Is there an alternative way to do this ?

Thanks,

Vivien Barousse

Outcomes