In Flexera scope version 5.1.17 and 5.1.2, ServiceNowToFNMS script includes used Glide Aggregate to get the total record count which uses the chooseWindow() method to get the record counts.
As per the latest ServiceNow Documentation Product Documentation | ServiceNow chooseWindow() method is only supported by Glide records so if we fetch the total record count with Glide Record, we get a correct output but not with Glide Aggregate.
Check for symptoms in your ServiceNow instance.
Issue # 1
- Check Export Run properties within the Export History view and notice the Counter is not incrementing and is stuck at 1
Issue # 2
- Within the MID server where you have the 'x_fls_flexera_fnms_asset' XML file saved. You will notice the File Size keeps on going (In an endless loop), this can cause the server to lose disk space.
- A way to stop this process is to DELETE the process within ServiceNow -> Flexera Integration -> Export History
- Look for the Export Run, and DELETE it.
Solution:
- Go to Script Include -> ServiceNowToFNMS
- Within the script look for the function name: sendData
- Look for the following line of code:
// agg.chooseWindow(recordFrom, recordTo);
// agg.query();
var totalRecords = viewRec.getRowCount();
// agg.query();
// if (agg.next()){
// totalRecords = agg.getAggregate('COUNT');
// }
Copy over the code (Or comment out lines 82-83 and 86-89, then remove comments for line 85
4. Save/Update
Outcome:
x_fls_flexera_fnms_asset XML file is generated completely and the export job is marked as success
More information:
Link for reference: https://docs.servicenow.com/search?q=chooseWindow
Related Articles
FNMS to ServiceNow Export stuck in Waiting state for scoped app 5.0.854 14Number of Views ServiceNow to FNMS not generating XML file in Quebec MID Server 15Number of Views What FlexNet inventory agent and beacon release number corresponds to each product version? 305Number of Views Can I Export Information from IBM LDAP / Directory Services Using the FNMS Business Adapter? 8Number of Views How can the FlexNet Manager Suite ServiceNow export utility be configured to connect to ServiceNow via a web proxy? 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago