<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: exclusiveTest with local variable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126945#M89315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or should I have to devide&amp;nbsp; the "Part1Application.bpmn20.xml" into separate parts, so that I can write a test for each ".bpmn20.xml" file. Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{startForm, CreateStartform}&amp;nbsp; {UserTask,XOR,UserTask,UserTask}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 08:39:07 GMT</pubDate>
    <dc:creator>tomi87</dc:creator>
    <dc:date>2013-01-09T08:39:07Z</dc:date>
    <item>
      <title>exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126942#M89312</link>
      <description>Hello I need some help for my test.At first I'm really not sure if this test to test a XOR gate with this code is working&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackage org.bpmwithactiviti.Part1ApplicationTest;import static org.junit.Assert.*;import org.activiti.engine.RuntimeService;import org.activiti.engine.TaskService;import org.acti</description>
      <pubDate>Mon, 07 Jan 2013 08:14:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126942#M89312</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-07T08:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126943#M89313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have a process id of part1Application so you should use that key to start the process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 09:20:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126943#M89313</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-01-08T09:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126944#M89314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; @Rule&lt;BR /&gt; //public ActivitiRule activitiRule = new ActivitiRule("activiti.cfg-mem.xml");&lt;BR /&gt; public ActivitiRule activitiRule = new ActivitiRule();&lt;BR /&gt;&lt;BR /&gt; @Test&lt;BR /&gt; // deploys process with form properties&lt;BR /&gt; @Deployment(resources = { "Part1Application.bpmn20.xml" })&lt;BR /&gt; public void testProjectDecision() {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; // Test with input == true&lt;BR /&gt;&amp;nbsp; RuntimeService runtimeService = activitiRule.getRuntimeService();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.startProcessInstanceByKey("part1Application");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.setVariableLocal("requestAccepted", "Do you accepted this request?", "Yes");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskService taskService = activitiRule.getTaskService();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task task = taskService.createTaskQuery().singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("XORAdvisorOrNot", task.getId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; task = taskService.createTaskQuery().singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("PG1a", task.getId());&lt;BR /&gt;&amp;nbsp; taskService.complete(task.getId());&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; // Test with input == false&lt;BR /&gt;&amp;nbsp; runtimeService.startProcessInstanceByKey("part1Application");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.setVariableLocal("requestAccepted", "Do you accepted this request?", "Yes");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; task = taskService.createTaskQuery().singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("XORAdvisorOrNot", task.getId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; task = taskService.createTaskQuery().singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("searchAProfessorAsAdvisor", task.getId());&lt;BR /&gt;&amp;nbsp; taskService.complete(task.getId());&lt;BR /&gt; }&lt;BR /&gt;}&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;But how can I start from the usertask "decideToBeTheAdvisorForTheStudent" ? Because I just want to test the XOR and the both following tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code from "Part1Application.bpmn20.xml" is the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;process id="part1Application"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;startEvent id="start"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="studentName" name="Studenten Name"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="emailAddress" name="Email address"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="dateFrom" name="Date from"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="long" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="dateToo" name="Date too"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="long" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeCountry" name="Home Country"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeUniversity"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Home University" required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeDepartment"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Home Department" required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="targetUniversity"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Target University" required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="targetDepartment"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Target Department" required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="research" name="Research"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="courseEnrollment"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Course Enrollment" required="true" type="string" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="project" name="With project"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required="true" type="boolean" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow114" sourceRef="start" targetRef="createRequest"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;serviceTask id="createRequest" name="Create Request"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:class="org.process1.CreateStudentApp"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow129" sourceRef="createRequest"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="PG1aa"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;parallelGateway id="PG1aa" name=""&amp;gt;&amp;lt;/parallelGateway&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow116" name="" sourceRef="PG1aa"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="requestOfEnrollingIsGivenToTheChairman"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="requestOfEnrollingIsGivenToTheChairman" name="request of enrolling is given to the chairman"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="DoEE C"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;chairman&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow117" name=""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="requestOfEnrollingIsGivenToTheChairman" targetRef="sendInformationToTheOoEE"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="sendInformationToTheOoEE"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; name="send information to the office of electrical engineering"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="DoEE C"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;chairman&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow68" sourceRef="sendInformationToTheOoEE"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="PG1bb"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;!– XOR Project or not –&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow115" name="" sourceRef="PG1aa"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="XORAProjectOrNot"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;exclusiveGateway id="XORAProjectOrNot" name="" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow63" name="Project" sourceRef="XORAProjectOrNot"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="sendInformationsFromTheProfessors"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${StudentAppInfo.project == true}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow69" name="No Project" sourceRef="XORAProjectOrNot"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="XORBProjectOrNot"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${StudentAppInfo.project == false}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;!– Send a email with a list of advisor to the student –&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="sendInformationsFromTheProfessors" name="send informations from the professors"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="DoEE O"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="advisorList" name="Advisors"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name=""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="sendInformationsFromTheProfessors" targetRef="searchAProfessorAsAdvisor"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="searchAProfessorAsAdvisor" name="search a professor as advisor"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="student"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Student&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– displays the customer name and set field to read-only –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="advisorList" name="List of advisors"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="${advisorList}" writable="false" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="advisorName" name="Advisor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="searchAProfessorAsAdvisor"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="askTheProfessorIfHeWouldBeAdvisor"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="askTheProfessorIfHeWouldBeAdvisor" name="ask the professor if he would be advisor"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="student"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Student&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow102" name=""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="askTheProfessorIfHeWouldBeAdvisor" targetRef="decideToBeTheAdvisorForTheStudent"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="decideToBeTheAdvisorForTheStudent" name="decide to be the advisor for the student"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="AdvisorGroup"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;advisor&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– displays the customer name and set field to read-only –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="studentName" name="Student name"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="${StudentAppInfo.studentName}" writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeCountry" name="Home Country"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="StudentAppInfo.homeCountry" writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="research" name="Research"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="StudentAppInfo.research" writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="dateFrom" name="Date from"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="StudentAppInfo.dateFrom" writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="dateToo" name="Date too"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression="StudentAppInfo.dateToo" writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeUniversity"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Home University" expression="StudentAppInfo.homeUniversity"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="homeDepartment"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Home Department" expression="StudentAppInfo.homeDepartment"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writable="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Defines new requestApproved process variable –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="requestAccepted"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="Do you accepted this request?" required="true" type="enum"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="true" name="Yes" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="false" name="No" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="comments" name="Comments"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow103" name=""&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="decideToBeTheAdvisorForTheStudent" targetRef="XORAdvisorOrNot"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;exclusiveGateway id="XORAdvisorOrNot" name="" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow104" name="request is accepted"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="XORAdvisorOrNot" targetRef="PG1a"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${requestAccepted&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; == true}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow105" name="request is refused"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sourceRef="XORAdvisorOrNot" targetRef="searchAProfessorAsAdvisor"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${requestAccepted&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; == false}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;parallelGateway id="PG1a" name=""&amp;gt;&amp;lt;/parallelGateway&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow61" name="" sourceRef="PG1a"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="sendThisInfoToTheChairman"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow106" name="" sourceRef="PG1a"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="sendInfoToTheOoEE"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="sendThisInfoToTheChairman" name="send this information to the chairman"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="AdvisorGroup"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;advisor&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow7" name="" sourceRef="sendThisInfoToTheChairman"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="PG1b"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="sendInfoToTheOoEE" name="send info to the Office of EE" activiti:candidateGroups="AdvisorGroup"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;advisor&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;chairman&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow107" name="" sourceRef="sendInfoToTheOoEE"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="PG1b"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;parallelGateway id="PG1b" name=""&amp;gt;&amp;lt;/parallelGateway&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow124" name="" sourceRef="PG1b"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="XORBProjectOrNot"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;exclusiveGateway id="XORBProjectOrNot" name=""&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow125" name="" sourceRef="XORBProjectOrNot"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="PG1bb"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;parallelGateway id="PG1bb" name=""&amp;gt;&amp;lt;/parallelGateway&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow126" name="" sourceRef="PG1bb"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="certificateTheEnrollingOfTheUniversity"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="certificateTheEnrollingOfTheUniversity" name="certificate the enrolling of the university"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="DoEE C"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;chairman&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow71" sourceRef="certificateTheEnrollingOfTheUniversity" targetRef="studentGetTheCertificate"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="studentGetTheCertificate" name="student get the certificate" activiti:candidateGroups="student"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Student&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow130" sourceRef="studentGetTheCertificate" targetRef= "end"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;endEvent id="end" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 08:14:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126944#M89314</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-09T08:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126945#M89315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or should I have to devide&amp;nbsp; the "Part1Application.bpmn20.xml" into separate parts, so that I can write a test for each ".bpmn20.xml" file. Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{startForm, CreateStartform}&amp;nbsp; {UserTask,XOR,UserTask,UserTask}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 08:39:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126945#M89315</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-09T08:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126946#M89316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need help for this. =(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 12:42:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126946#M89316</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-10T12:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: exclusiveTest with local variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126947#M89317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't expect the forum users to help you write your code. There is no need to divide your process into separate parts, you can, for example, create a unit-test for each possible "path" in your process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, when you start a process, you should specify the process-definition key, NOT the id of the UserTask (decideToBeTheAdvisorForTheStudent, in your case). I suggest reading through the &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#10minutetutorial" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#10minutetutorial&lt;/A&gt;&lt;SPAN&gt; and looking into the API-section of the user guide first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 12:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusivetest-with-local-variable/m-p/126947#M89317</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-01-10T12:55:51Z</dc:date>
    </item>
  </channel>
</rss>

