AnsweredAssumed Answered

how to assign to workflow in a simplest way?

Question asked by himfire on Apr 19, 2012
Latest reply on May 3, 2012 by mohammed.amr
hello


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

Outcomes