Custom Query as filter in Named Query or API Filter
V
Vinoth KUMAR C
started a topic
over 1 year ago
Hi,
We are trying to find all the source records that was submitted for processing, but due to job failure or any other issue not persisted in MD and GD tables and with B_ERROR_STATUS = NULL in SD table, so that these can be reprocessed again either by stewards or an external application.
We are looking for options to retrieve these data in API as well using named query or normal API call with the custom query as filter., can anyone help me understand if the below custom query can be directly applied as filter in API or named query.
Would really appreciate your inputs and any suggestions that can help achieving the use case.
Thanks,
Vinoth
Best Answer
A
Alexia SIMOND
said
over 1 year ago
Hello Vinoth,
It sounds to me like getting the list of records that belongs to a SUSPENDED or ERROR batch would answer the requirement.
And to do so, you can do it either via named query, with something like this:
Filter: LoadStatus in ('ERROR','SUSPENDED')
Endpoint: Execute named query xxx for view SD
Or directly via the native endpoint:
Endpoint: Query xxx SD records
Filter: $f=LoadStatus in ('ERROR','SUSPENDED')
Hope that helps.
1 Comment
A
Alexia SIMOND
said
over 1 year ago
Answer
Hello Vinoth,
It sounds to me like getting the list of records that belongs to a SUSPENDED or ERROR batch would answer the requirement.
And to do so, you can do it either via named query, with something like this:
Vinoth KUMAR C
Hi,
We are trying to find all the source records that was submitted for processing, but due to job failure or any other issue not persisted in MD and GD tables and with B_ERROR_STATUS = NULL in SD table, so that these can be reprocessed again either by stewards or an external application.
We are looking for options to retrieve these data in API as well using named query or normal API call with the custom query as filter., can anyone help me understand if the below custom query can be directly applied as filter in API or named query.
Would really appreciate your inputs and any suggestions that can help achieving the use case.
Thanks,
Vinoth
Hello Vinoth,
It sounds to me like getting the list of records that belongs to a SUSPENDED or ERROR batch would answer the requirement.
And to do so, you can do it either via named query, with something like this:
Or directly via the native endpoint:
Hope that helps.
Alexia SIMOND
Hello Vinoth,
It sounds to me like getting the list of records that belongs to a SUSPENDED or ERROR batch would answer the requirement.
And to do so, you can do it either via named query, with something like this:
Or directly via the native endpoint:
Hope that helps.
-
Import Data Into Entities via Azure Data Lake
-
Recover Deleted(soft Delete) Record and Configure in Application
-
Data Quality in batch mode and real-time integration
-
Integration with analytics tools
-
Query/Load/Delete data with the REST API
-
Does the Done Tab in Inbox have a limit?
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Matching Rules But Only The Latest Record Creates a Golden Record
-
Unstructured and Semi Structured Data in Semarchy?
-
Read CSV files from AWS S3
See all 87 topics