Skip to main content

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?

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

query getDetails {
    catalogItem(gid: “…. value of id ...") {

Kind regards,

Albert


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

 


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