Announcement

Collapse
No announcement yet.

Error on Manual Action to trigger Automation Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Error on Manual Action to trigger Automation Agent

    Hello,

    We are using OTM 5.5 CU2.

    I have created manual UI action to trigger an automation agent and the Action Definition ID is RUN_AGENT_ORDER_MOVEMENT.

    However when I click my Action in My Order Movement Action menu to trigger the above created automation agent, I am getting the following error,

    Topic glog.server.workflow.lifetime.ordermovement.Custom ModOrderMovementEvent$Factory: missing parameter dataSource

    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
    at glog.util.exception.GLException.factory(GLExceptio n.java:413)
    at glog.util.exception.GLException.factory(GLExceptio n.java:390)
    at glog.comm.parameter.ParameterFactory.fromCommandLi ne(ParameterFactory.java:32)
    at glog.server.agent.manual.ManualAgentSubscription.g etTopicForAction(ManualAgentSubscription.java:45)
    at glog.server.agent.manual.ManualAgentSessionBean.ru nManualAgent(ManualAgentSessionBean.java:57)
    at glog.server.agent.manual.ManualAgentSessionServerS ideEJBWrapper.runManualAgent(ManualAgentSessionSer verSideEJBWrapper.java:166)
    at glog.server.agent.manual.ManualAgentSessionBean.ru nManualAgent(ManualAgentSessionBean.java:49)
    at glog.server.agent.manual.ManualAgentSessionServerS ideEJBWrapper.runManualAgent(ManualAgentSessionSer verSideEJBWrapper.java:134)
    at glog.server.agent.manual.ManualAgentSessionHome_s2 brkz_EOImpl.runManualAgent(ManualAgentSessionHome_ s2brkz_EOImpl.java:154)
    at glog.server.agent.manual.ManualAgentSessionHome_s2 brkz_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerRef.java:10
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:17



    Any idea what could go wrong OR does this is an existing bug on OTM v5.5 CU2.

    I appreciate any advice from OTM gurus.

    Thanks in advance,

    Rgds,
    Kiru.

  • #2
    Re: Error on Manual Action to trigger Automation Agent

    I have seen this before, but is is a tricky one to diagnose, as the UI does not display the User Action correctly.

    When you define your Action, you need to define your Source.

    The issues is that there is no Source Stored in the Database. You need to set the Source to User.

    To do this, Change th Agent ID from A to B, then from B to A, then select USER. Finish the Change and the agent should start working.

    See the MANUAL_AGENT_TRIGGER table. The AGENT_EVENT_PARAMETERES should store the DataSource Value.
    James Foran
    Toll Global Information Services
    http://www.tollgroup.com

    Comment


    • #3
      Re: Error on Manual Action to trigger Automation Agent

      Hi James,

      I will try this and will let you know the outcome.

      Thank you,

      Rgds,
      Kiru.

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎