JBoss Community

Re: getting the actorid

created by José Luis Granda in jBPM - View the full discussion

You need assign to user a task node

 

See this sample. I use _initiator variable. Whe start task, you can assign value for it.

 

<?xml version="1.0" encoding="UTF-8"?>

<definitions id="Definition"

             targetNamespace="http://www.jboss.org/drools"

             typeLanguage="http://www.java.com/javaTypes"

             expressionLanguage="http://www.mvel.org/2.0"

             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"

             xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"

             xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"

             xmlns:g="http://www.jboss.org/drools/flow/gpd"

             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"

             xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"

             xmlns:di="http://www.omg.org/spec/DD/20100524/DI"

             xmlns:tns="http://www.jboss.org/drools">

 

  <itemDefinition id="_validacionSumillaItem" structureRef="Boolean" />

  <itemDefinition id="_validacionPresupuestoItem" structureRef="Boolean" />

  <itemDefinition id="__initiatorItem" structureRef="java.lang.Object" />

  <itemDefinition id="__commentItem" structureRef="java.lang.String" />

 

  <process processType="Private" isExecutable="true" id="EmitirCertificacionFinanciera" name="Emitir Certificación Financiera" >

 

    <!-- process variables -->

    <property id="validacionSumilla" itemSubjectRef="_validacionSumillaItem"/>

    <property id="validacionPresupuesto" itemSubjectRef="_validacionPresupuestoItem"/>

    <property id="_initiator" itemSubjectRef="__initiatorItem"/>

    <property id="_comment" itemSubjectRef="__commentItem"/>

 

    <!-- nodes -->

    <startEvent id="_1" name="Start" />

    <userTask id="_2" name="Adjuntar documentos" >

      <ioSpecification>

        <dataInput id="_2__commentInput" name="_comment" />

        <dataInput id="_2_CommentInput" name="Comment" />

        <dataInput id="_2_SkippableInput" name="Skippable" />

        <dataInput id="_2_TaskNameInput" name="TaskName" />

        <dataInput id="_2_ContentInput" name="Content" />

        <dataInput id="_2_PriorityInput" name="Priority" />

        <dataOutput id="_2__commentOutput" name="_comment" />

        <inputSet>

          <dataInputRefs>_2__commentInput</dataInputRefs>

          <dataInputRefs>_2_CommentInput</dataInputRefs>

          <dataInputRefs>_2_SkippableInput</dataInputRefs>

          <dataInputRefs>_2_TaskNameInput</dataInputRefs>

          <dataInputRefs>_2_ContentInput</dataInputRefs>

          <dataInputRefs>_2_PriorityInput</dataInputRefs>

        </inputSet>

        <outputSet>

          <dataOutputRefs>_2__commentOutput</dataOutputRefs>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <sourceRef>_comment</sourceRef>

        <targetRef>_2__commentInput</targetRef>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_2_CommentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Adjuntar documentos para iniciar la solicitud de la certificación</from>

          <to xs:type="tFormalExpression">_2_CommentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_2_SkippableInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">false</from>

          <to xs:type="tFormalExpression">_2_SkippableInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_2_TaskNameInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Adjuntar documentos</from>

          <to xs:type="tFormalExpression">_2_TaskNameInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_2_ContentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_2_ContentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_2_PriorityInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_2_PriorityInput</to>

        </assignment>

      </dataInputAssociation>

      <dataOutputAssociation>

        <sourceRef>_2__commentOutput</sourceRef>

        <targetRef>_comment</targetRef>

      </dataOutputAssociation>

      <potentialOwner>

        <resourceAssignmentExpression>

          <formalExpression>#{_initiator}</formalExpression>

        </resourceAssignmentExpression>

      </potentialOwner>

    </userTask>

    <userTask id="_3" name="Sumillar solicitud de certificación" >

      <ioSpecification>

        <dataInput id="_3__commentInput" name="_comment" />

        <dataInput id="_3_CommentInput" name="Comment" />

        <dataInput id="_3_SkippableInput" name="Skippable" />

        <dataInput id="_3_TaskNameInput" name="TaskName" />

        <dataInput id="_3_ContentInput" name="Content" />

        <dataInput id="_3_PriorityInput" name="Priority" />

        <dataOutput id="_3_validacionSumillaOutput" name="validacionSumilla" />

        <dataOutput id="_3__commentOutput" name="_comment" />

        <inputSet>

          <dataInputRefs>_3__commentInput</dataInputRefs>

          <dataInputRefs>_3_CommentInput</dataInputRefs>

          <dataInputRefs>_3_SkippableInput</dataInputRefs>

          <dataInputRefs>_3_TaskNameInput</dataInputRefs>

          <dataInputRefs>_3_ContentInput</dataInputRefs>

          <dataInputRefs>_3_PriorityInput</dataInputRefs>

        </inputSet>

        <outputSet>

          <dataOutputRefs>_3_validacionSumillaOutput</dataOutputRefs>

          <dataOutputRefs>_3__commentOutput</dataOutputRefs>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <sourceRef>_comment</sourceRef>

        <targetRef>_3__commentInput</targetRef>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_3_CommentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Sumillar a presupuesto, para la verifición y adjunción de certificado</from>

          <to xs:type="tFormalExpression">_3_CommentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_3_SkippableInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">false</from>

          <to xs:type="tFormalExpression">_3_SkippableInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_3_TaskNameInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Sumillar solicitud de certificación</from>

          <to xs:type="tFormalExpression">_3_TaskNameInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_3_ContentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_3_ContentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_3_PriorityInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_3_PriorityInput</to>

        </assignment>

      </dataInputAssociation>

      <dataOutputAssociation>

        <sourceRef>_3_validacionSumillaOutput</sourceRef>

        <targetRef>validacionSumilla</targetRef>

      </dataOutputAssociation>

      <dataOutputAssociation>

        <sourceRef>_3__commentOutput</sourceRef>

        <targetRef>_comment</targetRef>

      </dataOutputAssociation>

      <potentialOwner>

        <resourceAssignmentExpression>

          <formalExpression>hpiedra</formalExpression>

        </resourceAssignmentExpression>

      </potentialOwner>

    </userTask>

    <exclusiveGateway id="_4" name="Gateway" gatewayDirection="Diverging" />

    <task id="_5" name="Solicitud rechazada" tns:taskName="Email" >

      <ioSpecification>

        <dataInput id="_5_BodyInput" name="Body" />

        <dataInput id="_5_SubjectInput" name="Subject" />

        <dataInput id="_5_ToInput" name="To" />

        <dataInput id="_5_FromInput" name="From" />

        <inputSet>

          <dataInputRefs>_5_BodyInput</dataInputRefs>

          <dataInputRefs>_5_SubjectInput</dataInputRefs>

          <dataInputRefs>_5_ToInput</dataInputRefs>

          <dataInputRefs>_5_FromInput</dataInputRefs>

        </inputSet>

        <outputSet>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <targetRef>_5_BodyInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Solicitud rechazada #{validacionSumilla}</from>

          <to xs:type="tFormalExpression">_5_BodyInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_5_SubjectInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Solicitud rechazada</from>

          <to xs:type="tFormalExpression">_5_SubjectInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_5_ToInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">#{_initiator}@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_5_ToInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_5_FromInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">ppless@gpl.gob.ev</from>

          <to xs:type="tFormalExpression">_5_FromInput</to>

        </assignment>

      </dataInputAssociation>

    </task>

    <userTask id="_6" name="Adjuntar certificación presupuestaria" >

      <ioSpecification>

        <dataInput id="_6_validacionPresupuestoInput" name="validacionPresupuesto" />

        <dataInput id="_6_CommentInput" name="Comment" />

        <dataInput id="_6_SkippableInput" name="Skippable" />

        <dataInput id="_6_TaskNameInput" name="TaskName" />

        <dataInput id="_6_ContentInput" name="Content" />

        <dataInput id="_6_PriorityInput" name="Priority" />

        <dataOutput id="_6_validacionPresupuestoOutput" name="validacionPresupuesto" />

        <dataOutput id="_6__commentOutput" name="_comment" />

        <inputSet>

          <dataInputRefs>_6_validacionPresupuestoInput</dataInputRefs>

          <dataInputRefs>_6_CommentInput</dataInputRefs>

          <dataInputRefs>_6_SkippableInput</dataInputRefs>

          <dataInputRefs>_6_TaskNameInput</dataInputRefs>

          <dataInputRefs>_6_ContentInput</dataInputRefs>

          <dataInputRefs>_6_PriorityInput</dataInputRefs>

        </inputSet>

        <outputSet>

          <dataOutputRefs>_6_validacionPresupuestoOutput</dataOutputRefs>

          <dataOutputRefs>_6__commentOutput</dataOutputRefs>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <sourceRef>validacionPresupuesto</sourceRef>

        <targetRef>_6_validacionPresupuestoInput</targetRef>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_6_CommentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Adjuntar documento certificado de disponibilidad presupuestaria</from>

          <to xs:type="tFormalExpression">_6_CommentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_6_SkippableInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">false</from>

          <to xs:type="tFormalExpression">_6_SkippableInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_6_TaskNameInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Adjuntar certificación presupuestaria</from>

          <to xs:type="tFormalExpression">_6_TaskNameInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_6_ContentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_6_ContentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_6_PriorityInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">test</from>

          <to xs:type="tFormalExpression">_6_PriorityInput</to>

        </assignment>

      </dataInputAssociation>

      <dataOutputAssociation>

        <sourceRef>_6_validacionPresupuestoOutput</sourceRef>

        <targetRef>validacionPresupuesto</targetRef>

      </dataOutputAssociation>

      <dataOutputAssociation>

        <sourceRef>_6__commentOutput</sourceRef>

        <targetRef>_comment</targetRef>

      </dataOutputAssociation>

      <potentialOwner>

        <resourceAssignmentExpression>

          <formalExpression>ncamacho</formalExpression>

        </resourceAssignmentExpression>

      </potentialOwner>

    </userTask>

    <exclusiveGateway id="_7" name="Gateway" gatewayDirection="Diverging" />

    <userTask id="_9" name="Firmar certificación financiera" >

      <ioSpecification>

        <dataInput id="_9_CommentInput" name="Comment" />

        <dataInput id="_9_SkippableInput" name="Skippable" />

        <dataInput id="_9_TaskNameInput" name="TaskName" />

        <dataInput id="_9_ContentInput" name="Content" />

        <dataInput id="_9_PriorityInput" name="Priority" />

        <inputSet>

          <dataInputRefs>_9_CommentInput</dataInputRefs>

          <dataInputRefs>_9_SkippableInput</dataInputRefs>

          <dataInputRefs>_9_TaskNameInput</dataInputRefs>

          <dataInputRefs>_9_ContentInput</dataInputRefs>

          <dataInputRefs>_9_PriorityInput</dataInputRefs>

        </inputSet>

        <outputSet>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <targetRef>_9_CommentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Firma electrónica de certificado</from>

          <to xs:type="tFormalExpression">_9_CommentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_9_SkippableInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">false</from>

          <to xs:type="tFormalExpression">_9_SkippableInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_9_TaskNameInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Firmar certificación financiera</from>

          <to xs:type="tFormalExpression">_9_TaskNameInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_9_ContentInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_9_ContentInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_9_PriorityInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression"></from>

          <to xs:type="tFormalExpression">_9_PriorityInput</to>

        </assignment>

      </dataInputAssociation>

      <potentialOwner>

        <resourceAssignmentExpression>

          <formalExpression>hpiedra</formalExpression>

        </resourceAssignmentExpression>

      </potentialOwner>

    </userTask>

    <endEvent id="_10" name="End" >

        <terminateEventDefinition/>

    </endEvent>

    <task id="_11" name="Solicitud rechazada" tns:taskName="Email" >

      <ioSpecification>

        <dataInput id="_11_BodyInput" name="Body" />

        <dataInput id="_11_SubjectInput" name="Subject" />

        <dataInput id="_11_ToInput" name="To" />

        <dataInput id="_11_FromInput" name="From" />

        <inputSet>

          <dataInputRefs>_11_BodyInput</dataInputRefs>

          <dataInputRefs>_11_SubjectInput</dataInputRefs>

          <dataInputRefs>_11_ToInput</dataInputRefs>

          <dataInputRefs>_11_FromInput</dataInputRefs>

        </inputSet>

        <outputSet>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <targetRef>_11_BodyInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">La solicitud fue rechazada, no existe disponibilidad presupustaría. Se comento #{_comment}</from>

          <to xs:type="tFormalExpression">_11_BodyInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_11_SubjectInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">La solicitud fue rechazada, no existe disponibilidad presupustaría</from>

          <to xs:type="tFormalExpression">_11_SubjectInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_11_ToInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">#{_initiator}@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_11_ToInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_11_FromInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">ppless@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_11_FromInput</to>

        </assignment>

      </dataInputAssociation>

    </task>

    <exclusiveGateway id="_12" name="Gateway" gatewayDirection="Converging" />

    <task id="_13" name="Solicitud aceptada" tns:taskName="Email" >

      <ioSpecification>

        <dataInput id="_13_validacionPresupuestoInput" name="validacionPresupuesto" />

        <dataInput id="_13_BodyInput" name="Body" />

        <dataInput id="_13_SubjectInput" name="Subject" />

        <dataInput id="_13_ToInput" name="To" />

        <dataInput id="_13_FromInput" name="From" />

        <dataOutput id="_13_validacionPresupuestoOutput" name="validacionPresupuesto" />

        <inputSet>

          <dataInputRefs>_13_validacionPresupuestoInput</dataInputRefs>

          <dataInputRefs>_13_BodyInput</dataInputRefs>

          <dataInputRefs>_13_SubjectInput</dataInputRefs>

          <dataInputRefs>_13_ToInput</dataInputRefs>

          <dataInputRefs>_13_FromInput</dataInputRefs>

        </inputSet>

        <outputSet>

          <dataOutputRefs>_13_validacionPresupuestoOutput</dataOutputRefs>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <sourceRef>validacionPresupuesto</sourceRef>

        <targetRef>_13_validacionPresupuestoInput</targetRef>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_13_BodyInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Solicitud aprobada. #{_comment}</from>

          <to xs:type="tFormalExpression">_13_BodyInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_13_SubjectInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Solicitud aprobada</from>

          <to xs:type="tFormalExpression">_13_SubjectInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_13_ToInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">#{_initiator}@gpl.gob.ec;ncamacho@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_13_ToInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_13_FromInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">ppless@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_13_FromInput</to>

        </assignment>

      </dataInputAssociation>

      <dataOutputAssociation>

        <sourceRef>_13_validacionPresupuestoOutput</sourceRef>

        <targetRef>validacionPresupuesto</targetRef>

      </dataOutputAssociation>

    </task>

    <task id="_14" name="Presupuesto aceptado" tns:taskName="Email" >

      <ioSpecification>

        <dataInput id="_14_BodyInput" name="Body" />

        <dataInput id="_14_SubjectInput" name="Subject" />

        <dataInput id="_14_ToInput" name="To" />

        <dataInput id="_14_FromInput" name="From" />

        <inputSet>

          <dataInputRefs>_14_BodyInput</dataInputRefs>

          <dataInputRefs>_14_SubjectInput</dataInputRefs>

          <dataInputRefs>_14_ToInput</dataInputRefs>

          <dataInputRefs>_14_FromInput</dataInputRefs>

        </inputSet>

        <outputSet>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <targetRef>_14_BodyInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">El certificado que solicito fe aprobado. #{_comment}</from>

          <to xs:type="tFormalExpression">_14_BodyInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_14_SubjectInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Silicitud aprobada</from>

          <to xs:type="tFormalExpression">_14_SubjectInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_14_ToInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">#{_initiator}@gpl.gob.ec, hpiedra@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_14_ToInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_14_FromInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">ppless@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_14_FromInput</to>

        </assignment>

      </dataInputAssociation>

    </task>

    <task id="_15" name="Tramite aceptado" tns:taskName="Email" >

      <ioSpecification>

        <dataInput id="_15__commentInput" name="_comment" />

        <dataInput id="_15_BodyInput" name="Body" />

        <dataInput id="_15_SubjectInput" name="Subject" />

        <dataInput id="_15_ToInput" name="To" />

        <dataInput id="_15_FromInput" name="From" />

        <inputSet>

          <dataInputRefs>_15__commentInput</dataInputRefs>

          <dataInputRefs>_15_BodyInput</dataInputRefs>

          <dataInputRefs>_15_SubjectInput</dataInputRefs>

          <dataInputRefs>_15_ToInput</dataInputRefs>

          <dataInputRefs>_15_FromInput</dataInputRefs>

        </inputSet>

        <outputSet>

        </outputSet>

      </ioSpecification>

      <dataInputAssociation>

        <sourceRef>variable</sourceRef>

        <targetRef>_15__commentInput</targetRef>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_15_BodyInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Su solicitud ha sido completada</from>

          <to xs:type="tFormalExpression">_15_BodyInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_15_SubjectInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">Su solicitud ha sido completada. Observación: #{_comment}</from>

          <to xs:type="tFormalExpression">_15_SubjectInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_15_ToInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">#{_initiator}@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_15_ToInput</to>

        </assignment>

      </dataInputAssociation>

      <dataInputAssociation>

        <targetRef>_15_FromInput</targetRef>

        <assignment>

          <from xs:type="tFormalExpression">ppless@gpl.gob.ec</from>

          <to xs:type="tFormalExpression">_15_FromInput</to>

        </assignment>

      </dataInputAssociation>

    </task>

 

    <!-- connections -->

    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />

    <sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />

    <sequenceFlow id="_3-_4" sourceRef="_3" targetRef="_4" />

    <sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5" name="No" >

      <conditionExpression xs:type="tFormalExpression" language="http://www.java.com/java" >return (!validacionSumilla);</conditionExpression>

    </sequenceFlow>

    <sequenceFlow id="_13-_6" sourceRef="_13" targetRef="_6" />

    <sequenceFlow id="_6-_7" sourceRef="_6" targetRef="_7" />

    <sequenceFlow id="_14-_9" sourceRef="_14" targetRef="_9" />

    <sequenceFlow id="_12-_10" sourceRef="_12" targetRef="_10" />

    <sequenceFlow id="_7-_11" sourceRef="_7" targetRef="_11" name="No" >

      <conditionExpression xs:type="tFormalExpression" language="http://www.java.com/java" >return (!validacionPresupuesto);</conditionExpression>

    </sequenceFlow>

    <sequenceFlow id="_5-_12" sourceRef="_5" targetRef="_12" />

    <sequenceFlow id="_11-_12" sourceRef="_11" targetRef="_12" />

    <sequenceFlow id="_15-_12" sourceRef="_15" targetRef="_12" />

    <sequenceFlow id="_4-_13" sourceRef="_4" targetRef="_13" name="Si" >

      <conditionExpression xs:type="tFormalExpression" language="http://www.java.com/java" >return (validacionSumilla);</conditionExpression>

    </sequenceFlow>

    <sequenceFlow id="_7-_14" sourceRef="_7" targetRef="_14" name="Si" >

      <conditionExpression xs:type="tFormalExpression" language="http://www.java.com/java" >return (validacionPresupuesto);</conditionExpression>

    </sequenceFlow>

    <sequenceFlow id="_9-_15" sourceRef="_9" targetRef="_15" />

 

  </process>

 

  <bpmndi:BPMNDiagram>

    <bpmndi:BPMNPlane bpmnElement="EmitirCertificacionFinanciera" >

      <bpmndi:BPMNShape bpmnElement="_1" >

        <dc:Bounds x="137" y="41" width="48" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_2" >

        <dc:Bounds x="66" y="103" width="185" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_3" >

        <dc:Bounds x="66" y="179" width="186" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_4" >

        <dc:Bounds x="135" y="264" width="48" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_5" >

        <dc:Bounds x="271" y="268" width="174" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_6" >

        <dc:Bounds x="14" y="427" width="288" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_7" >

        <dc:Bounds x="133" y="500" width="48" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_9" >

        <dc:Bounds x="27" y="670" width="258" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_10" >

        <dc:Bounds x="720" y="438" width="48" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_11" >

        <dc:Bounds x="260" y="500" width="179" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_12" >

        <dc:Bounds x="566" y="436" width="48" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_13" >

        <dc:Bounds x="64" y="348" width="190" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_14" >

        <dc:Bounds x="60" y="578" width="196" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape bpmnElement="_15" >

        <dc:Bounds x="363" y="589" width="150" height="48" />

      </bpmndi:BPMNShape>

      <bpmndi:BPMNEdge bpmnElement="_1-_2" >

        <di:waypoint x="161" y="65" />

        <di:waypoint x="158" y="127" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_2-_3" >

        <di:waypoint x="158" y="127" />

        <di:waypoint x="159" y="203" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_3-_4" >

        <di:waypoint x="159" y="203" />

        <di:waypoint x="159" y="288" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_4-_5" >

        <di:waypoint x="159" y="288" />

        <di:waypoint x="358" y="292" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_13-_6" >

        <di:waypoint x="159" y="372" />

        <di:waypoint x="158" y="451" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_6-_7" >

        <di:waypoint x="158" y="451" />

        <di:waypoint x="157" y="524" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_14-_9" >

        <di:waypoint x="158" y="602" />

        <di:waypoint x="156" y="694" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_12-_10" >

        <di:waypoint x="590" y="460" />

        <di:waypoint x="744" y="462" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_7-_11" >

        <di:waypoint x="157" y="524" />

        <di:waypoint x="349" y="524" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_5-_12" >

        <di:waypoint x="358" y="292" />

        <di:waypoint x="590" y="460" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_11-_12" >

        <di:waypoint x="349" y="524" />

        <di:waypoint x="590" y="460" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_15-_12" >

        <di:waypoint x="438" y="613" />

        <di:waypoint x="590" y="460" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_4-_13" >

        <di:waypoint x="159" y="288" />

        <di:waypoint x="159" y="372" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_7-_14" >

        <di:waypoint x="157" y="524" />

        <di:waypoint x="158" y="602" />

      </bpmndi:BPMNEdge>

      <bpmndi:BPMNEdge bpmnElement="_9-_15" >

        <di:waypoint x="156" y="694" />

        <di:waypoint x="438" y="613" />

      </bpmndi:BPMNEdge>

    </bpmndi:BPMNPlane>

  </bpmndi:BPMNDiagram>

 

</definitions>

Reply to this message by going to Community

Start a new discussion in jBPM at Community