cancel
Showing results for 
Search instead for 
Did you mean: 

Rules not Running in a space

newmember
Champ in-the-making
Champ in-the-making
I have 56 rules on a space.
All rules are based on "inbound"
I have all of the rules running in the "background"
All the rules are to move the contents to other folders.

The rules don't seem to run.
When I go look I always see files in the folder.
When I "reapply all rules" in the folder all the files successfully move to the correct file.

So why wouldn't my rules run when files arrive?

I changed the rule to not "be run in the background" and it still did not execute when I file matching the conditions was put in the space.
However the file did run after I "reapplied the rules" in the space.


Alfresco 3.2CE

Thanks
17 REPLIES 17

newmember
Champ in-the-making
Champ in-the-making
I did some more testing.

I installed 3.2r2 on a windows server and set up the same rules as on my ubuntu server.
The rules seem to fire.
The issue is that the rules are not followed.

With '10000*' in the file name move to folder 10000 on inbound
With '20000*' in the file name move to folder 20000 on inbound

With testing 5 files:
2 go to wrong folder
3 go to correct folder

Its curious to me why:
a file with 10000 would end up in folder 20000
a file with 20000 would end up in a folder 10000

Is there a way for me to turn on some debugging to watch what is going on so that I can report my findings?

Thanks

newmember
Champ in-the-making
Champ in-the-making
I tried this and seem to discover that there is likely a limit some where:
I think the rules are being truncated somewhere.

With these files:
60100300-70000091-1809.wav
60100302-70000092-1319.wav

Rules in this order:
60100300* in the name go to folder 10000
60100302* in the name go to folder 20000
Both files go to folder 10000

Rules in this order:
60100302* in the name go to folder 20000
60100300* in the name go to folder 10000
Both files go to folder 20000

Rules in this order:
60100300* in the name go to folder 10000
60100302* in the name go to folder 20000
Both files go to folder 10000



I changed the rules to these:
*00302* in the name go to folder 20000
*00300* in the name go to folder 10000
Works correctly.

miudon
Champ in-the-making
Champ in-the-making
Just to clarify miudon, the space rules are working for you on version 3.0 and are not working on 3.2r?
Could you provide a sample rule that you are using.

Hello newmember
I confirm your question.  the space rules are working for me on version 3.0 and are not working on 3.2r or 3.2r2
Did you'd any progress?

newmember
Champ in-the-making
Champ in-the-making
I have installed 3.2rs CE and tried a simpler set of rules to try to determine a pattern.
The rules of my simple tests were listed above with folder 10000 and and folder 20000.
There is something wrong with the results, the results are not as I would expect.

louise
Champ in-the-making
Champ in-the-making
Just a trick to replace Inbound rule with a working Update: http://louise.hu/poet/?p=5087

brakyeyes
Champ in-the-making
Champ in-the-making
Just to clarify miudon, the space rules are working for you on version 3.0 and are not working on 3.2r?
Could you provide a sample rule that you are using.levitra

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.

Thanks,
Sindhu