Announcement

Collapse
No announcement yet.

Parent and Child Event in one Agent?

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

  • Parent and Child Event in one Agent?

    Is this correct?
    An agent that is listening for an event of Agent Parent and an Agent Child in the same agent will fire twice if the Child fires?




    For example:
    If an agent contains Order - Modified and Order - Status Changed, the agent will fire twice each time the Order Status is changed. (Both are firing on Integration)

  • #2
    Re: Parent and Child Event in one Agent?

    Have you turned on the logging for Agents? I would suspect that if the same Agent is fired twice then it would be reported in the logs.

    Comment


    • #3
      Re: Parent and Child Event in one Agent?

      Actually what I did was set a notify contact as the first step in the agent, so I get notified each time it fires. Makes it really easy to count how many times it went through for any action I take.

      I really am just asking a more general question though. If a child event occurs, does the parent event also occur?

      Comment


      • #4
        Re: Parent and Child Event in one Agent?

        Ok, so I spoke with support, and the answer is typically yes, but in this specific situation no. Right now they aren't sure why this child parent set doesn't work that way, but typically they should.

        Also on Order - Status Change you have to have the before persist flag on, or it won't be able to tell that the status actually changed, causing weird things to happen. In my example, not having the before persist flag on, caused the order release modify agent to fire 3 times on order creation. A change to that flag, and now it fires 0 times.

        Comment


        • #5
          Re: Parent and Child Event in one Agent?

          Is this available in OTM 6.3.6 version?

          Comment

          Working...
          X