Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Unable to get callback from RMDocument event

Yan_Kliaver
Level 4
Level 4

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
Jasmin_Charbonn
Correct answer by
Level 10
Level 10

Make sure you're variable are INPUT variables.

Jasmin

View solution in original post

6 Replies
SForrest96
Level 9
Level 9

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

Jasmin_Charbonn
Correct answer by
Level 10
Level 10

Make sure you're variable are INPUT variables.

Jasmin

View solution in original post

Yan_Kliaver
Level 4
Level 4

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.

SForrest96
Level 9
Level 9

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

Yan_Kliaver
Level 4
Level 4

Great!

Jasmin and Steve, Thanks a lot for the help!

Yan.