Subscription Event Revise?
Hi,
I've tried to create object notification with java method NotificationHelper.manager.createObjectSubscription for event Revise.
The code below does not work.
Where can I find which is name for Revise event (and also WORKFLOW_STATE_CHANGE)?
eventsMap.put("REVISE", (WTStringMap)null); //--- doesn't work
eventsMap.put("WORKFLOW_STATE_CHANGE", (WTStringMap)null); //--- doesn't work
eventsMap.put("CHECK_OUT_IN", (WTStringMap)null); //---- It works!!
eventsMap.put("DELETE", (WTStringMap)null); //---- It works!!
//get subscriber, currently setting to session user
NotifySubscriptionRecipient subscriber = NotifySubscriptionRecipient.newNotifySubscriptionRecipient(SessionHelper.getPrincipal(), NotifySubscriptionRecipient.TO_ADDRESS);
//create subscription
NotificationHelper.manager.createObjectSubscription(subscriptionAttributes,subscriber, targetObject, eventsMap, true);

