Skip to main content
Solved

Como eu faço if em uma requisição GrathQL?

  • April 5, 2023
  • 1 reply
  • 218 views

felipe-leite-matrixenergia
Forum|alt.badge.img

{
  allCards(
    pipeId: 302991598
    first: 50
    after: "WyIxMy4wIiwiNDQuMCIsNjQ2NjkwNDg0XQ"
  ) {
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      node {
        id
        fields {
          name
          value
        }
        current_phase {
          name
        }
      }
    }
  }
}

 

 

gostaria de colocar um if para pegar apenas os cards que a current_phase não seja “Cliente sem interesse” nem “Cliente sem contato”

Best answer by Lucas Democh

@felipe-leite-matrixenergia os artigos abaixo podem te ajudar na construção dos filtros:

 

 

Boa sorte!

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

1 reply

Lucas Democh
Forum|alt.badge.img+15
  • Pipefy Legend
  • 396 replies
  • Answer
  • April 6, 2023

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