09-09-2011 12:34 PM
public class PutOrderInDB implements JavaDelegate {
@Override
public void execute(DelegateExecution execution) throws Exception {
String msisdn = (String) execution.getVariable("orderMsisdn");
Long amount = (Long) execution.getVariable("orderAmount");
String type = (String) execution.getVariable("orderType");
System.out.println("msisdn from PutOrderInDB class : "+msisdn);
System.out.println("amount from PutOrderInDB class : "+amount);
System.out.println("type from PutOrderInDB class : "+type);
if("0123456789".equalsIgnoreCase(msisdn)) {
execution.setVariable("isPutInDB", true);
}
else {
execution.setVariable("isPutInDB", false);
}
}
}
09-10-2011 08:46 AM
09-11-2011 04:48 PM
09-11-2011 04:51 PM
09-12-2011 02:53 AM
09-12-2011 05:08 AM
09-12-2011 06:00 AM
09-12-2011 05:36 PM
<error id="[b]myError[/b]" errorCode="error123" />
<process id ….
….
<endEvent id="endevent2" name="ErrorEnd">
<errorEventDefinition errorRef="[b]myError[/b]"></errorEventDefinition>
</endEvent>
<boundaryEvent id="boundaryerror1" name="" attachedToRef="callactivity1">
<errorEventDefinition errorRef="[b]error123[/b]"></errorEventDefinition>
</boundaryEvent>
09-13-2011 02:41 AM
09-13-2011 03:38 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.