GraphQL Helpful Resources - Learn Integrations on the Now Platform
[Music] in this video we'll cover some helpful resources that can take your knowledge of graphql to the next level and help you demystify some of the things you might see while exploring apis that we provide whether you're just getting started on the platform or you've been using it for years one of the best ways to learn is to explore what's provided in a baseline instance if you navigate to all system web services graphql graphql apis and look at some of the apis provided you'll notice some things that are not covered in this series that's because this wasn't intended to be a comprehensive lesson on graphql but more of an implementation of graphql on service now links to additional graphql resources are provided in the description to this video Let's Open up The API for process automation designer and scroll through the schema there's the schema block and several types blocks but notice something about some of the inputs in the mutations they're not primitive data types like string int and Boolean they're defined lower down as input blocks these are used to make the schema more readable and provide for reuse of complex input types across multiple queries and mutations let's take a look at this one timer attributes input it starts with the keyword input then defines the properties it contains including additional complex input types these can be nested further down we see a union keyword which means the result activity position result can either be valid response or an error response the error type also contains something interesting and enumeration which is a simple list of valid results all of these are explained in great detail from the graphql reference information in the description for this video I invite you to take a look to to expand your knowledge of the schema even further to make your graphql apis more manageable and Powerful thanks for watching
https://www.youtube.com/watch?v=YvNqHz3tcDc