cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Content rules to run automatically?

shikarishambu
Champ in-the-making
Champ in-the-making
I have created a few content rules to extract metadata from documents in the space since we tend to drop documents into the space through CIFS share rather than the Alfresco web client (which, automatically pulls the information). I have set the content rule to run in the background. However, I find that the metadata extraction does not happen unless/until I go into the webclient and run "Reapply Content Rules."

Does setting "Run rule in the background" keep the rule running in the background all the time? If no, Is there a way to do so?

Also, is there a way to see what content rules are waiting to be run? And, maybe, change the frequency of execution of the rule(s)?

TIA
2 REPLIES 2

norgan
Champ in-the-making
Champ in-the-making
The contentrules are always run automatically, when one of three events happens :
a) content is added
b) content is updated
c) content is removed

Whichever you choose upon creation of the rule. If you did choose "update" and nothing happens even when you edit some metadata and save again - then there is a bug. If you choose "add" and content is processed, when added via explorer but not via CIFS, that may be a bug.

In both cases - raise an issue at issues.alfresco.com and post the link here in the forum and add the issue number in the "subject" line of the thread.

if nothing happens when you add somthing via webinterface, your role is faulty.

Hope that helped,
Norgan

_sax
Champ in-the-making
Champ in-the-making
"Run rule in the background" left unchecked does mean that if you're uploading something via browser, your wizard will only continue to the next step after all rules are run. If it is checked, then it will run the rule and before it's ended, present you with the next step.
Most rules will be done fastly enough to not let this option make a noticeable change.