Ad Widget

Collapse

trigger.get lacks trigger name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Avinasha
    Member
    • Jan 2018
    • 40

    #1

    trigger.get lacks trigger name

    Hi All,

    I have been trying to use API to create and update templates, items and triggers.

    I found that item.get has an option to get the name and description of the item along with other options. But, the trigger.get has only description and no name. The problem here is trigger.get calls the name of the trigger as description!! Is there a way to address both name and description of a trigger?

    TIA.

    Regards,
    Avi
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    Hi, Avinasha. There's a little mess in the trigger object. They calls the name of the trigger as description and the description as comments.

    Comment

    • Avinasha
      Member
      • Jan 2018
      • 40

      #3
      Semiadmin Thank you for your reply. That really helped me and saved me from a lot of manual work. Now I wish the Mess trigger object has will last forever.

      Comment

      Working...