Skip to main content
Solved

Rule instance details via API


Forum|alt.badge.img

Can we get the metadata of one rule instance. I have been using below query. It is giving all the dq checks. I want to pass only one DQ check ID and get the results.

 

query{

    ruleInstances(versionSelector: {draftVersion: true}){

    edges {

      node {

      gid

      draftVersion {

        name

        displayName,

        target

        {

          gid

        }

    }

    }

    }

  }

  }

 

Can anyone help me on this?

Best answer by Albert de Ruiter

Hi ​@Hanish N , you can for instance add a filter or parameter like this:

query getDetails {
    catalogItem(gid: β€œβ€¦. value of id ...") {

Kind regards,

Albert

View original
Did this topic help you find an answer to your question?

3 replies

Albert de Ruiter
Star Blazer L3
Forum|alt.badge.img+4

Hi ​@Hanish N , you can for instance add a filter or parameter like this:

query getDetails {
    catalogItem(gid: β€œβ€¦. value of id ...") {

Kind regards,

Albert


Forum|alt.badge.img
  • Author
  • Data Voyager
  • 2 replies
  • April 29, 2025

for ruleInstance We must have versionSelector. It’s throwing some error if we use gid. Please find the error below.

 


Albert de Ruiter
Star Blazer L3
Forum|alt.badge.img+4

Hi ​@Hanish N ,

So a query like this, that runs well for me,

query getDetails {
    attributeTerm(gid: "5877cd9a-0000-7000-0000-00000a7942c3") {
        gid
        draftVersion {
           name
        }
    }
}

doesn't go well for a ruleInstance?

In that case I don't know if I can help you further. Maybe someone form Ataccama can jump in? Or another community member of course?

Kind regards,

Albert


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings