Announcement

Collapse
No announcement yet.

Raise Event

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Raise Event

    Hi all,

    I want to call the agent from another agent, for this I created the custome event (Business process and automation -->powerdata -->Agent Event), In the first agent i use the Raise event action and i selected the custome event which i created, Now This Raise event is working fine when ever the Agent type for for both agents is same, but the Raise Event is not calling the another Agent if Agent Type for the both agents are different.

    Agent Type for my First Agent is Shipment and for second agent OrderMovement.

    The below error is showing in the log file
    Agent SAI001.ORDERMOVE (14218257) received error 8584/CLOSE/Process Agent:
    Topic glog.server.workflow.lifetime.ordermovement.Custom OrderMovementEvent$Factory: missing parameter orderMovement

    Do I need to do any modification in my agent?

    Thanks in advance!!!
    Kumar

  • #2
    Re: Raise Event

    Check if
    (1) The agent that is raising the custom event has type "SHIPMENT" and the agent that acts on the custom event is of type "ORDER MOVEMENT".
    (2) You are selecting the relevant order movements IDs in For Each in your first agent.
    (3) The custom event that you have created is of type "ORDER MOVEMENT" (meaning it should be of the same type as that of your second agent).


    Cheers
    DD

    Comment


    • #3
      Re: Raise Event

      make your custom event type similar to the second agent and try it out. IF stil error persist, please do let me know.
      Cheers,
      -Neo

      Comment


      • #4
        Re: Raise Event

        You will need to use the 'FOR EACH' action for triggering an agent from one object to another, your SQL should select the relevant order_movement_gid's for the shipment.
        Antony Carter
        Mavenwire

        www.MavenWire.com

        Comment

        Working...
        X