Expand my Community achievements bar.

SOLVED

Unable to get callback from RMDocument event

Avatar

Former Community Member

Hi All,

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,

Thanks, Yan

1 Accepted Solution

Avatar

Correct answer by
Level 10

Make sure you're variable are INPUT variables.

Jasmin

View solution in original post

6 Replies

Avatar

Former Community Member

I have tested this as well and I am duplicating the behaviour.  I will continue to investigate and post my findings as soon as possible.

Regards

Steve

Avatar

Correct answer by
Level 10

Make sure you're variable are INPUT variables.

Jasmin

Avatar

Former Community Member

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?

Yan.

Avatar

Former Community Member

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:

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/javadoc/index.html

Loot at "com.adobe.livecycle.rightsmanagement.client" and "EventManager"

Steve

Avatar

Former Community Member

Great!

Jasmin and Steve, Thanks a lot for the help!

Yan.