External action implementation class issue
Hi,
In my own implementation class, which extend from the "DefaultActionInterface", I have the "ExecutorData" object is a parameter. This object have 4 methods: getAdditionalProps(), getDataJSON(), getDiffJSON() and getHtmlDataJson().
When I invoking the method getAdditionalProps(), I get this result
{ENTITY_JSON={}, MENUNAME=MenuActionName, executorClass=com.servicedeskplus.integration.MyIntegration, MENUID=301, EXECUTORTYPE=class, HTML_LOAD=my.html, HANDSHAKE_KEY=XXXX, USERID=4}
When I invoking the method getHtmlDataJson(), I get the JSON data, which I send from html page, for example: {"action":"getAccounts","MENUID":301}.
According to the help topic about developing external action plugins, invoking methods getDataJSON() and getDiffJSON() should return json data (full or diff) for request details.
But they always return empty result.
How i can obtain the request details in my class?
UPD: attach file with java class
New to ADSelfService Plus?