cancel
Showing results for 
Search instead for 
Did you mean: 

Rules working only on 'Reapply Rules in Space'

andrea81it
Champ in-the-making
Champ in-the-making
Hi,
i added a rule to a space, but it doesn't trigger automatically. (Alfresco 3.2r2)
It's a simple inbound rule, applied on All Items, which specialize items to my own custom type and execute a script: both "Run rule in background" or not, i've got the same behaviour…nothing happens.
Trying to force execution using "Reapply Rules in Space", it works fine.
This happens with content uploaded using Alfresco WebClient and FTP.
Something missing?
Thank you very much!
5 REPLIES 5

mariam
Champ in-the-making
Champ in-the-making
ran into the same problem ….did you find a solution?

thanks
Maria

louise
Champ in-the-making
Champ in-the-making
Hmm, it's a recurrent issue in community editions, like current 3.4.c…

We're waiting for a static solution.

mitpatoliya
Star Collaborator
Star Collaborator
Hi andrea81it ,

I have used rules in the version 3.2r and its working fine.
And also as per your statment its working when you are reapplying the rule that means the rule is fine.
When you are expecting the rule to be triggred?
Its just i think your condition for triggering rule is where you need to reverify.

varshini
Champ in-the-making
Champ in-the-making
Hi Everyone,
I am using Alfresco 5.0. My requirement is to trigger a custom workflow when an xml file is dropped in a particular folder and use the contents of the xml file during the process of workflow.

I started my requirement with following steps in mind
a. Initially I tried to create rule for a folder which triggers a simple workflow available in options (with Approve, Reject) when an xml file is dropped into a folder - which is not triggering the rule.
b. If it triggers how can I trigger a custom workflow from a rule?
c. How to use same xml file at different points of the workflow?
d. How to grab the elements in xml and use them throughout the workflow?

Can anyone help me with triggering a rule. I am struck at step 1.I am not able to trigger a rule. Even a copy of file rule is not working.Please refer attachments. Please suggest your ideas asap. Any help would be needful.


Thanks,
Varshini

varshini
Champ in-the-making
Champ in-the-making
Hi Everyone,

As mentioned in my previous post. I am able to achieve Step 1. But my concern is every time I have to run rules manually by clicking on 'Run Rules for this folder'. How to trigger them automatically as soon as file enters the folder. Also I need help with Steps 2,3,4 i.e triggering my custom workflow and accessing the file throughout workflow. Please help me.