cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Test 'Approval' Workflow

inspiron82
Champ in-the-making
Champ in-the-making
Hi,
I have to implement a workflow like the one u can see at:

http://wiki.alfresco.com/wiki/Alfresco_Test_%22Approval%22_Workflow#Implementation_Detail
'>
http://wi...

can anyone help me?
9 REPLIES 9

norgan
Champ in-the-making
Champ in-the-making
Hi,
what is your question ? You do know, that the examples are available as code somewhere (if I recall correctly)

Norgan

inspiron82
Champ in-the-making
Champ in-the-making
The problem is that i didn't find the code of that workflow…
Do u know where can i find it?

inspiron82
Champ in-the-making
Champ in-the-making
Hi guys…
Anyone knows where I can find the sample code?


thanks

norgan
Champ in-the-making
Champ in-the-making
Hm … sorry .. I though that is in the example codes on sourceforge. You could take the standard "approval" workflow in the out of the box and hook it behind itself. You will have to learn how to code workflows, though, aynway  Smiley Happy

Norgan

inspiron82
Champ in-the-making
Champ in-the-making
Hm … sorry .. I though that is in the example codes on sourceforge. You could take the standard "approval" workflow in the out of the box and hook it behind itself. You will have to learn how to code workflows, though, aynway  Smiley Happy

Norgan

u mean review_processdefinition.xml?

How can i tell a workflow to move file to FOLDER1 if it's approved and to FOLDER2 if it's rejected?

I didn't find where is the definition of the "simple workflow"… I mean… How can I customize the out-of-the-box "simple workflow"?

thanks a lot…

norgan
Champ in-the-making
Champ in-the-making
Hi Inspirion,
the simple workflow does not need a definition. Check out the tutorial on the wiki "Getting started with Alfresco Explorer DM" for a guided tour through simple workflows

Norgan

inspiron82
Champ in-the-making
Champ in-the-making
You are right….
But what can I do if I need to customize the simple workflow?
thanks

Hi Inspirion,
the simple workflow does not need a definition. Check out the tutorial on the wiki "Getting started with Alfresco Explorer DM" for a guided tour through simple workflows

Norgan

sethatrothbury
Champ in-the-making
Champ in-the-making
http://forums.alfresco.com/en/viewtopic.php?f=34&t=21410

Check that thread out. I helped that guy moving files/folders through javascript inside the workflow process definition. In your case you'd place the code in the Approve or Reject nodes.

norgan
Champ in-the-making
Champ in-the-making
You have only two options
a) add a "YES" box and move/copy to XXX, when clicked
b) additionally, add a "NO" box and move/copy to YYY, when clicked

This you set for every folder, you want in the simple workflow, using business rules or javascript.
You cannot do more and it is not intended to do more in terms of customization. For this, use advanced workflows. You still can, certrainly, move the content programatically, causing the next workflow step to "happen".

Norgan