cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Workflow Rule Doesn't Fire

risenhoover
Champ in-the-making
Champ in-the-making
Hi All,

I have a simple workflow rule that applies to all INCOMING assets to a space. The rule is to execute a secondary script that is programmed to kick off an advanced workflow. If I upload an asset into this space, the rule fires properly and the advanced workflow is created.

However, if I use a web script to create a new asset (which descends from cm:content), the simple workflow rules is NOT fired. Can anybody provide any thoughts on why this might be?

Thanks in advance
4 REPLIES 4

risenhoover
Champ in-the-making
Champ in-the-making
I was looking at a later post and thought this might be related – the assets I'm adding to the space do not have content (or documents).  Could I be seeing the same thing that the other guys are seeing?

risenhoover
Champ in-the-making
Champ in-the-making
I just got a note back from Alfresco and they said that there needs to be content in the cm:content attribute.  Since my assets are virtual assets that only consist of metadata, this would explain why the rules aren't firing.

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

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.