Re: DEMO VIDEO & TEMPLATES. INTEGRATION WITH FORESCOUT
Techie
Posts: 13
Registered: ‎06-20-2013
Techie
Posts: 4

The block opening at line 165 does not seam to close properly.

Adding a close of the curly bracket gets the syntax error out of the script.

Also the indentation of that block seams to be off, so it could be there is some other stuff missing in the template.

I did not test that the json file is now working, but can you try the attached one?

 

this is the unclosed block which I closed with "},"

 

{
  "name": "check_For_Discovery_Information",
  "operation": "CONDITION",
  "condition": {
    "condition_type": "AND",
    "statements": [{"left": "${P::discovered_data}","op": "!=","right": ""}],
    "eval": "${XC:COPY:{L:discovered_data}:{P:discovered_data}}",
    "else_eval": "${XC:ASSIGN:{L:discovered_data}:{S:.}}"
  }
},