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.
-
Recover Deleted(soft Delete) Record and Configure in Application
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Read CSV files from AWS S3
-
Find SQL Statements Generated for Match Rules
-
Is it possible to disable specific steps of an Integration Job?
-
Reset the Override on Many Records Through the Interface or By Script
-
PL/SQL Procedure With B_CREDATE and B_UPDDATE Not Mapped or Loaded, Columns Will Be Null
-
LoadDataRecord contains non persitable expressions when trying to publish Data using the Rest API
-
Data notification on Record deletion
-
How to reference a sequence in a custom function, which I will then populate as an attribute in Semarchy?
See all 59 topics