- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-15-2021 02:03 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Siyou Li : We are getting the below error
Tried above-suggested steps but still having the issue. Any thoughts on this? Thank you in advance!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Community Alums
We need more information to investigate this issue. Please create a case task with customer support team and our team will further investigate this issue.
Thanks,
Siyou
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Root cause: A Reference field used in the lookup was configured to reference the wrong table. When the Partial Preview API attempted to perform the reference lookup, it was unable to fetch the target data, and the internal query object remained uninitialized. That led to the exception:
There was an error with the partial preview API. Transformation failed: Cannot invoke "com.glide.db.meta.Query.addQuery(com.glide.util.IQueryCondition)" because "this.fQuery" is null
Fix: Correct the Reference field configuration (Dictionary entry) so the Reference points to the correct table.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello,
We ran into the exact same issue while integrating Cisco Collector with ServiceNow using IntegrationHub ETL.
Root Cause
The problem occurred after deploying the ETL configuration from one instance to another.
When moving ETL configurations via Update Sets, not all ETL-related records are consistently captured, especially if changes were made directly in the ETL (for example adding or removing fields in the transform). In our case, some related records under the Robust Transform Engine were missing in the target instance.
Because of that mismatch, the ETL Transform Map preview failed with:
"There was an error with the partial preview API."
And Step 2 – Prepare Source Data for Mapping – showed no data.
What to Check
Open the Data Source from which the ETL is selected.
Open the Robust Transform.
Open the Transformer Definition.
In the Related List, check the Robust Transform Engine Entity records.
Compare the number of records between:
Source instance (where it works)
Target instance (where the error occurs)
In our case, the record counts were different between the two instances.
Resolution
We manually recreated/synchronized the missing Robust Transform Engine Entity records in the target instance so that both instances matched.
After correcting the difference, the ETL Transform Map preview worked correctly and Step 2 populated the source data as expected.
Important Note
In our experience, ServiceNow Update Sets do not always capture ETL changes completely, especially when modifying fields directly inside the ETL configuration (like adding/removing fields). These related Robust Transform Engine records can sometimes be missed.
If you encounter this partial preview API error after deployment, definitely compare the Robust Transform Engine Entity records between instances.
Hope this helps others facing the same issue!
