Permanent link to this article:

  • Maryem Bourhi

    I have a question, when retrieving i want to retrieve object related triggers too , how can i modify package.xml to do so

    • Hi Maryem,
      To retrieve trigger you can use following syntax:

      If you want to retrieve all trigger from Org use following syntax:


      And if you want to retrieve any specific trigger(say SampleOnInsertTrigger, then use following syntax:


      Ankush Dureja

    • Shamsher Singh

      @maryem_bourhi:disqus : I don’t think there is any provision where you can retrieve object related triggers or if there is any then i am not aware of. The commands Format says that you can retrieve either all of the triggers by using wildcard character “*” or any specific trigger or a group of triggers by giving all the names in different different tag.