Skip to main content
Question

Updating Lookup Item via GraphQL Mutation

  • November 10, 2024
  • 1 reply
  • 35 views

Forum|alt.badge.img

I have an ETL process that’s run on-demand and refreshes master data referenced by several Ataccama catalog items. There’s about 60 lookup items that are created from catalog item attributes that I need to update immediately following the master data refresh. I know there’s a lookup item “Update” button in the Ataccama web interface and a method to schedule refreshes; however, I haven’t been able to find a way to update lookup items on-demand, such as through a GraphQL mutation.

Is there an available mutation for updating lookup items on-demand, or another method that could be utilized?

OGordon100
Ataccamer
Forum|alt.badge.img
  • Ataccamer
  • November 19, 2024

Hello!

Here is the mutation you will need - the gid is the gid of the lookupitem as seen in the page URL. <customer>.<env>.ataccama.online/dq/lookupItem/1008d15e-0000-7000-0000-000000966f5e/ would have a gid of 1008d15e-0000-7000-0000-000000966f5e for example

mutation CreateLookup($gid: GID!) {
  createLookup(lookupItemId: $gid) {
    name
    status
    __typename
  }
}

Hope this helps!

Oli


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