As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Is it possible to add own extensions in the activiti-bpmn-extensions-5.0.xsd? Or when is that allowed?Or do we have to work with the existing ones?
<br><callActivity id="callCheckCreditProcess" name="Check credit" calledElement="checkCreditProcess"><br> <extensionElements><br> <activiti:dataInput name="x" expression="#{myVar.x}" /><br> <activiti:dataInput name="y" stringValue="test" /><br> <activiti:dataInput name="z" variable="z" /><br> </extensionElements><br></callActivity><br>
<br> <dataInputAssociation><br> <sourceRef>NewCounterValueVariable</sourceRef><br> <targetRef>value</targetRef><br> </dataInputAssociation><br>
<br> <ioSpecification><br> <dataInput itemSubjectRef="tns:setToRequestItem" id="dataInputOfServiceTask" /><br> <inputSet><br> <dataInputRefs>dataInputOfServiceTask</dataInputRefs><br> </inputSet><br> <outputSet /><br> </ioSpecification><br> <dataInputAssociation><br> <sourceRef>dataInputOfProcess</sourceRef><br> <targetRef>dataInputOfServiceTask</targetRef><br> <assignment><br> <from>${dataInputOfProcess.newCounterValue}</from><br> <to>${dataInputOfServiceTask.value}</to><br> </assignment><br> </dataInputAssociation><br>
<br> <dataInputAssociation><br> <sourceRef>counter</sourceRef><br> <targetRef>newCounter</targetRef><br> </dataInputAssociation><br> <dataOutputAssociation><br> <sourceRef>newCounter</sourceRef><br> <targetRef>counter</targetRef><br> </dataOutputAssociation><br>
<br>AtomicOperationProcessEnd<br><br> @Override<br> protected void eventNotificationsCompleted(InterpretableExecution execution) {<br> execution.destroy();<br> execution.remove();<br><br> // and trigger execution afterwards<br> if (superExecution!=null) {<br> superExecution.setSubProcessInstance(null);<br> ActivityImpl activity = (ActivityImpl) superExecution.getActivity();<br> SubProcessActivityBehavior subProcessActivityBehavior = (SubProcessActivityBehavior) activity.getActivityBehavior();<br> try {<br> subProcessActivityBehavior.completed(superExecution);<br> } catch (Exception e) {<br> log.log(Level.SEVERE, "Error while completing sub process of execution " + execution, e);<br> }<br> }<br> }<br>