12-22-2006 03:15 AM
<task-node name="myNode">
<event type="node-leave">
<action name="myAction" class="myActionHandler"></action>
</event>
<transition name="tr2" to="myOtherTask"></transition>
</task-node>
12-22-2006 04:19 AM
12-22-2006 06:48 AM
01-03-2007 09:00 AM
01-05-2007 09:04 AM
11-30-2007 08:19 AM
12-03-2007 03:36 AM
// save user credentials
Authentication currentAuthentication = authenticationComponent.getCurrentAuthentication();
// authenticate as system user
authenticationComponent.setSystemUserAsCurrentUser();
UserTransaction transaction = transactionService.getUserTransaction();
try {
transaction.begin();
// your code
transaction.commit();
} catch (Exception e) {
try {
transaction.rollback();
} catch (IllegalStateException e1) {
// handle exception
} catch (SecurityException e1) {
// handle exception
} catch (SystemException e1) {
// handle exception
}
} finally {
// restore user security context
authenticationComponent.setCurrentAuthentication(currentAuthentication);
}
12-03-2007 05:34 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.