Announcement

Collapse
No announcement yet.

Notify contact in agent

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

  • Notify contact in agent

    can we pass a variabe to the notify contact action in a agent.


    Thanks.

  • #2
    Re: Notify contact in agent

    Yes. Just make sure you assign it first. I have only tried to put it in the subject, but this always works.

    SUBJECT: Variable=$VARIABLE
    James Foran
    Toll Global Information Services
    http://www.tollgroup.com

    Comment


    • #3
      Re: Notify contact in agent

      I want to pass a variable in the contact field not the subject line.

      Is it possible.

      Comment


      • #4
        Re: Notify contact in agent

        Can you explain your requirement in detail?

        Comment


        • #5
          Re: Notify contact in agent

          No. We have looked into doing the same.

          Luckily for us, we only had a few users to notify, so we were able to do this using a series of IF, ELSEIF statements.

          Cheers,
          James Foran
          Toll Global Information Services
          http://www.tollgroup.com

          Comment


          • #6
            Re: Notify contact in agent

            Yes, I think this is possible. You could define a saved condition to retrieve the contactGID into a variable dynamically, and use the variable in notify contact.

            Comment


            • #7
              Re: Notify contact in agent

              Raj

              how do we pass the saved query as one of the contact.

              My requirement is to pass the variable contant in the contact field for notify contact actions.

              Comment


              • #8
                Re: Notify contact in agent

                1. You should first ASSIGN VARIABLE, say $SHIPPER_CONTACT with saved condition/query, say GET_CONTACT defined. For example, if the Agent type is SHIPMENT, you could define a Saved query as below to dynamically notify the SHIPPER:

                select c.contact_gid from contact c, shipment s, shipment_involved_party si, involved_party_qual ip where s.shipment_gid = $GID and s.shipment_gid=si.shipment_gid and si.involved_party_qual_gid = ip.involved_party_qual_gid and ip.involved_party_qual_gid = YOURDOMAIN.SHIPPER' and si.involved_party_contact_gid = c.contact_gid

                2. Now you input CONTACT = $SHIPPER_CONTACT under NOTIFY CONTACT action, to parameterise the same.

                Hope this helps.

                Comment


                • #9
                  Re: Notify contact in agent

                  thanks raj.

                  Variable works well if it is a contact.

                  I tried to define a contact group & passed it as a variable. it is not working. Still it tries to use it as a contact.


                  But the contact group given as the constant in the notify contact works well.

                  Do thoughts on this.

                  Comment


                  • #10
                    Re: Notify contact in agent

                    Can you please copy the query and the error log?

                    Comment

                    Working...
                    X