Christopher_Mal
ServiceNow Employee
ServiceNow Employee

If you are using a "Run Script" activity to send a SOAP message in a workflow, and are posting that message on the ECC queue with our Discovery plugin enabled, you will see the "No Sensors Defined" error show up on the ECC queue input response.

If you want to avoid seeing that you need to do the following in your code:

<code>

  var s = new SOAPMessage('Name', 'Function');

  s.setStringParameter('paramName', 'value');

  s.setEccParameter('skip_sensor', true);

  s.post(true);

</code>

Hope this helps someone out there in SN javascript land.   Cheers.

2 Comments