Hello, first off, congrats on your great project..since yesterday i have been playing around with it and i am in love with it.
Second, i would like to know if Automation can send arguments to my script code.. let me explain myself:
i wrote a script code which is fired every "Document created" event in the "Administration/Automation tab", what this code does is create a ticket to my service deskp when that event fires, but i would like to know if somehow i can extract the named of this document..
something like:
OpenKM Version: 6.2.5 (build: 8109)
SO: Windows
thank you for reading.
Second, i would like to know if Automation can send arguments to my script code.. let me explain myself:
i wrote a script code which is fired every "Document created" event in the "Administration/Automation tab", what this code does is create a ticket to my service deskp when that event fires, but i would like to know if somehow i can extract the named of this document..
something like:
Code: Select all
import com.openkm.bean.Document;
Document doc = args[0];
print("document "+doc.getTitle()+" was created in "+doc.getPath());
OpenKM Version: 6.2.5 (build: 8109)
SO: Windows
thank you for reading.