Ad Widget

Collapse

Can't import an XML template with trigger dependencies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ccrembil
    Junior Member
    • Dec 2019
    • 3

    #1

    Can't import an XML template with trigger dependencies

    Hi everyone,
    I want to create a template from scratch using XML import.

    I choose the "Template Module ICMP Ping" to begin with. I exported it, modified it (adding a "2" after every item, trigger and dependency name), and when re-importing it back I get the following error:

    "Import failed: Trigger "High ICMP ping loss 2" depends on trigger "Unavailable by ICMP ping 2", which does not exist."

    The mentioned trigger "Unavailable by ICMP ping 2" is defined in the same XML.

    I'm attaching the XML file.

    Could someone please tell me what I am doing wrong?

    Charly
    Attached Files
  • ccrembil
    Junior Member
    • Dec 2019
    • 3

    #2
    Yes sir, you hitted the nail as a master :-) I totally forgot that little detail in the expression.

    I don't use clone because I'm building the management of the whole solution as much automated as possible using Ansible.

    Thank you so much!
    Last edited by ccrembil; 11-12-2019, 19:57.

    Comment

    Working...