how to assign to workflow in a simplest way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2012 08:27 AM
I'm a student in communication engineer section in my last year my project is about designing a communication system to my college using alfresco and drupal to connect them with each other . my system will be about managing the transition that happened in the college like certificate or something like that . I'm now studing alfresco but I'm very late in this project . first I want to do all the workflows and I'm stuck in an example that I have red in some book showing me how to do my workflow:
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:myReviewAndApprove">
<swimlane name="initiator" />
<swimlane name="reviewer" />
<start-state name="start">
<task name="wf:mySubmitReviewTask" swimlane="initiator" />
<transition name="" to="review" />
</start-state>
<task-node name="review">
<task name="wf:myReviewTask" swimlane="reviewer" />
<transition name="approve" to="approve" />
<transition name="reject" to="reject" />
</task-node>
<node name="approve">
<transition to="completed" />
</node>
<node name="reject">
<transition to="completed" />
</node>
<task-node name="completed">
<task name="wf:myCompleteReviewTask" swimlane="initiator" />
<transition name="" to="end" />
</task-node>
<end-state name="end" />
</process-definition>
I should see it as it's says when I go to workflow in alfresco explorer . my question is how to execute this code ? where should I place the file so I can see it in my workflow chooses? in simplest way.please
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2012 12:58 PM
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2012 02:45 AM
Step 1: Implement the basic flow and workflow user interface
Layout the process
I'm going to follow the “extension” convention and place my workflow in a file called
processdefinition.xml in a folder called “alfresco/extension/workflows/publishwhitepaper”
I don't have this directory on my alfresco I have search for it and I didn't found it. on the extension I just have these folders (audio,bootstrap,mt) I'm using alfresco 4.0d community edition on ubuntu 10.04. how can I solve this problem?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2012 03:58 AM
Try placing your process definition to /Company Home/Data Dictionary/Workflow Definitions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2012 09:27 AM
I went to this directory but I saw it empty and I didn't know what to do can you show me the steps ?
——————————————————————————————————————————————————————
e-mail:himfire@rocketmail.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2012 09:36 AM
The files that get created during the tutorial are being placed in an Eclipse project. The project has its own folder structure. An Ant build is then used to package up and deploy the extensions into the expanded Alfresco webapp.
Out-of-the-box, your exploded Alfresco webapp (if you ran the binary installer, the webapp lives in /opt/alfresco/tomcat/webapp/alfresco) will not contain the extension folder. It will get created when you run "ant deploy".
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2012 01:08 PM
good . how do I ant and deploy as you said in your post?should I install jbpm and ant ( built.xml )? please in steps?I need to begin my work?
thanks again dear jeff for all what you are doing . because of your help I have understood much better than before . so thank you very much. but I need a little help to get more ideas . thanks any how.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2012 03:27 AM
I hope that can help you, Alfresco Workflow Definition have multiple ways of deployment one of them is by using the ant.
But i don't think that you are need it to make a deployment rather than you can use the Workflow Console to deploy the Workflow definition.
If you are going to deploy yours by using the Workflow Console, this link will guide you http://wiki.alfresco.com/wiki/Workflow_Console.
Thanks.
Mohammed Amr.
Senior System Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2012 10:25 AM
I've tried to do what you have said to me but an error has occur to me , I red in the book there is a dynamic way to install my workflow in some folder location called workflow but I haven't found this directory at all in my workflow , the book says that when you place it in this location you should have to see it when you restart the alfresco workflow as a choice . this what I want to know right now . then I will start do my workflow . can you help me?
I'm using alfresco 4.0d community edition on ubuntu 10.04
———————————————————–
e-mail:hishamfire@gmail.com
skype:hishamfire
yahoo:himfire@rocketmail.com
twitter:himfire00

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2012 02:14 AM
