I'm getting that error after created a new automated task (there is a internal xquery automator):
<Cannot create automator>
javax.naming.NameNotFoundException: While trying to lookup 'automation.plugin/internal/task/XXXXXX_XOM_Solution/18.104.22.168.0/XOM_SendBill_getMailResponse/do' didn't find subcontext 'automation'. Resolved ''; remaining name 'automation/plugin/internal/task/XXXXXX_XOM_Solution/1/0/0/0/0/XOM_SendBill_getMailResponse/do'
Here is my xquery code:
declare namespace context = "java:com.mslv.oms.automation.TaskContext";
declare namespace log = "java:org.apache.commons.logging.Log";
declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";
Hello , It seems like you dont have the correclty the Script path, in the Xquery Tab of the XqueryAutomator of EventType = Internal, you should have this as a:Bundle in, Absolute path, or URL.
We use URL, as we have other resources cartridges, wich of those are U using? .