cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple rules for a folder

tomsujithm
Champ in-the-making
Champ in-the-making
I am using alfreco 3.2. When I try to create multiple rule (say multiple approve work flow) only the rule which I created last is getting displayed. Is there any way to sort this out or does alfresco 3.2 supports multiple rule for a folder?
8 REPLIES 8

sdavis
Champ in-the-making
Champ in-the-making
Multiple rules per folder are definitely supported.  Can you give any more on the steps you're using?

tomsujithm
Champ in-the-making
Champ in-the-making
Thanks for your reply. I will explain a senario 

I have 5 folders say A,B,C,D,E.
A initaiates a process, sends a document to B on A's approval.
B sends the document to C and D (parellel action).
B collaborates their reply and sends to A.
Now A has to send it to E.
So the rules are A to B and A to E. When I create these rules only the last one is displayed in the action list.

fracat71
Champ on-the-rise
Champ on-the-rise
Hi all,
i have a similar problem : i want to define an order to rules that must be defined.
It can be done?

Regards

mrogers
Star Contributor
Star Contributor
Perhaps workflow would be a better solution than rules?    That will also cope with your fork/join requirement.

fracat71
Champ on-the-rise
Champ on-the-rise
Hi all,
i have to do:
0- add metadata extractor
1-add custom aspect
2-add a property of cutom aspect
3-add versionable aspect

i have not to do:
0-add versionable aspect
1-add custom aspect
2-add a property of cutom aspect
3- add metadata extractor

I have defined 4 rules and it seems that the execution order sometime is the first sometime the second.

mrogers
Star Contributor
Star Contributor
I don't think ordering of rules is supported. Smiley Sad

Would be a jolly good enhancement to make.   Please check whether it already raised in JIRA and add it if not.

In the meantime you could have a single action or a workflow that does all 4.   Not as nice but it will gurarantee the order.

sumit_kulkarni
Champ in-the-making
Champ in-the-making
Hello,

I am a new to Alfresco. I have few questions regarding rules,

I have created a simple workflow rule (request approval) if an document is been added to a folder. This rule moves the document from draft to "to be reviwed" folder. This rule has been created by admin user. The problem is , any non-admin user is not able to execute this rule giving error message that you do not have permissions to execute this rule.

My questions are,
1. Can an admin account ONLY create rules?
2. If yes, then can ONLY admin account execute these rules? How can I assign permission for non admin accounts to execute these rules?

Appreciate any pointers in this direction.

Regards,
Sumit
Alfresco : 3.4b - community edition windows platform.

heiko_robert
Star Collaborator
Star Collaborator
@fracat71: the best work around I see is to write a small java script, that executes the actions in the correct order. You can then execute that script in one rule definition.
@sumit.kulkarni: rule definitions can only done by admins or coordinators (granted to the space) but this is independant from executing the rule. When a rule is fired the defined action is executed as the user causing the execution. In your example the user needs the right to write to the "to be reviwed" space.
Heiko