Passing Parameters to Automation Event Actions.

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Senior Boarder
Senior Boarder
Posts: 47
Joined: Thu Dec 22, 2016 4:18 am

Passing Parameters to Automation Event Actions.

Post by PSHREYASHOLLA » Wed May 17, 2017 9:30 am


I am using pre and post Document create actions and have configured my Java file to get called which "implements Action" and have overridden executePost(HashMap<String, Object> arg0, Object... arg1) method.

So how can I pass my metaData property arguments to this method?

Posts: 10024
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain

Re: Passing Parameters to Automation Event Actions.

Post by jllort » Thu May 18, 2017 7:18 am

Take a look at the idea to pass parameters between core and automation classes is to set into the HashMap<String, Object> arg0.
Take also a look at some Automation class, take a look at classes into com.openkm.automation or in our documentation sample ... ml#Example

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests