04-08-2014 10:40 AM
processInstanceId = createAndStartProcessInstance(); // performs all steps leading to op1-finished signal catching node
waitForEvent("op1-finished", "ACTIVITY_STARTED"); // it will only continue ONLY IF ACTIVITY_STARTED for op1-finished catching node is received, so node should be ready to receive signal
// sleep(300); //when i uncomment this it ALWAYS work
signalOperation1Finished(); // this always succeeds but whithout sleep the signal isnt always received properly
…
checkIfProcessFinished(processInstanceId); // fails often without 'sleep' because signal is sent 'too early'(?) and process hangs at waiting for signal
04-22-2014 07:10 AM
04-22-2014 08:55 AM
04-24-2014 03:22 AM
04-24-2014 04:19 AM
04-25-2014 04:02 AM
TransactionContext transactionContext = Context.getCommandContext().getTransactionContext();
transactionContext.addTransactionListener(TransactionState.COMMITTED, yourImplementation);
04-25-2014 05:51 AM
05-12-2014 09:26 AM
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.