Note: Honeywell's SGC script may contain a bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
During testing, I noticed that—despite explicitly passing the `firmware version`—the value was consistently failing to map to the corresponding table. Upon investigation, I discovered that there is a bug in the current code's handling of the `firmware version` field: regardless of what input you provide, the resulting value always ends up being empty. This occurs because the code path ultimately executes `output[i] = ''`; the `if-else` block is missing its curly braces (`{}`), which inadvertently exposes the `output[i] = ''` assignment outside the conditional logic. Therefore, if you encounter this issue, simply check and correct the `if-else` structure in the code, and everything should work fine. No need to worry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @德亮郝 ,
Raise an case(Hi ticket) with your ServiceNow vendor .
If post validation ,they also find it as Bug, Product team will definitely correct it and include it in future version if needed. It would be helpful for all.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti