@Override public void doExecuteActivity() throws Exception { MProperties parameters = new MProperties(); String msg = prepareSignal(parameters); if (msg == null) return; // ignore and go ahead if msg name is null // send MUri uri = MUri.toUri("bpms://" + msg); ((InternalEngine)getContext().getEEngine()).execute(uri, parameters); }
@Override public void doExecuteActivity() throws Exception { MProperties parameters = new MProperties(); String msg = prepareMessage(parameters); if (msg == null) return; // ignore and go ahead if msg name is null // send MUri uri = MUri.toUri("bpmm://" + msg); ((InternalEngine)getContext().getEEngine()).execute(uri, parameters); }
@Override public String doExecute() throws Exception { MProperties parameters = new MProperties(); String msg = prepareSignal(parameters); if (msg == null) return null; // ignore and go ahead if msg name is null // send MUri uri = MUri.toUri("bpms://" + msg); ((InternalEngine)getContext().getEEngine()).execute(uri, parameters); return null; }
@Override public String doExecute() throws Exception { MProperties parameters = new MProperties(); String msg = prepareMessage(parameters); if (msg == null) return null; // ignore and go ahead if msg name is null // send MUri uri = MUri.toUri("bpmm://" + msg); ((InternalEngine)getContext().getEEngine()).execute(uri, parameters); return null; }
@Override public String doExecute() throws Exception { MProperties parameters = new MProperties(); String msg = prepareExternal(parameters); if (msg == null) return null; // ignore and go ahead if msg name is null // send MUri uri = MUri.toUri("bpme://" + msg); ((InternalEngine)getContext().getEEngine()).execute(uri, parameters); return null; }
MUri mUri = MUri.toUri(uri); ((MutableUri)mUri).setParams(new String[] { EngineConst.OPTION_CLOSE_ACTIVITY + "=" + getContext().getPNode().getId() }); UUID id = (UUID) iEngine.execute(mUri, parameters);
prop.put("name", caze.getCanonicalName()); prop.put("uri", M.trunc(caze.getUri(), 700)); MUri u = MUri.toUri(caze.getUri()); prop.put("process", MString.beforeIndex(u.getLocation(), ':')); prop.put("version", MString.afterIndex(u.getLocation(),':'));
prop.put("customer", M.trunc(caze.getCustomerId(), 700)); prop.put("uri", M.trunc(caze.getUri(), 700)); MUri u = MUri.toUri(caze.getUri()); prop.put("process", MString.beforeIndex(u.getLocation(), ':')); prop.put("version", MString.afterIndex(u.getLocation(),':'));
prop.put("customer", M.trunc(caze.getCustomerId(), 700)); prop.put("uri", M.trunc(caze.getUri(), 700)); MUri u = MUri.toUri(caze.getUri()); prop.put("process", MString.beforeIndex(u.getLocation(), ':')); prop.put("version", MString.afterIndex(u.getLocation(),':'));
prop.put("name", caze.getCanonicalName()); prop.put("uri", M.trunc(caze.getUri(), 700)); MUri u = MUri.toUri(caze.getUri()); prop.put("process", MString.beforeIndex(u.getLocation(), ':')); prop.put("version", MString.afterIndex(u.getLocation(),':'));