I've created workbench process (attached) that catches a RMDocument event and prints a message into the log file.
In addition I'm trying capture event callback data such as ClientIPAddress, PrincipalName and EventDetail into variables and also print their values in to the log.
When the event is happened my process prints the message into the log as expected but from some reason callback data remains empty.
Any help will be appreciated,
Solved! Go to Solution.
Yep, I've changed my variables to input variables and now the event data is captured except eventDetail.
In this case how can I know what kind of actvity was done with my doc?
let's say I want to know if it was printed by the user?
If you capture the "EventType", it should return a 4 digit value (int). From this value you will need to determine the event that took place. The Document Event values map as follows:
view = 2000
printLow = 2001
printHigh = 2002
signDocument = 2003
addAnnot = 2004
formFillin = 2005
closeDoc = 2006
modifyDoc = 2007
changeSecHandler = 2008
switchPolicy = 2009
revoke = 2010
unrevoke = 2011
secure = 2012
unknownClientEvent = 2013
changeRevokeUrl = 2014
publishDocumentAs = 2015
For more information on the APIs (for RM event) check out:
Loot at "com.adobe.livecycle.rightsmanagement.client" and "EventManager"