Hi,


I have a question about ToDo List.



We have 400 files for one action (e.g. :
waitingForPublicationReviewToProduction) ,

In workflow we use :

<meta name="queryBulkAuthorizerClass">
nl.hippo.cms.workflow.DocumentPermissionsBasedQueryBulkAuthorizer</meta>.





In CMS (v6.05.03) for the workflow.js, we have a problem, the function
“query” takes too much time.

(between 5 to 10 minutes)

After having to recover the instances ID of the files, there is a loop which
will look for their path.

It’s this loop which takes time.



generic.forEach(matchingInstances, *function*(instanceIdAsObject) {

       *var* instanceId = instanceIdAsObject.longValue();

authorizer.gatherLocationsAndPropertyNames(instanceId, locations,
propertyNames, authorizerContext);

});



My questions are:



What can I do to improve this?

Is it possible to recover the paths at the same time as the instances ID?
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to