Christopher_Mal
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
06-19-2014
09:53 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.