Hi guys! Can you help me?
I’m trying to get all cards from a phase in a pipe using GraphQL API. But, I’m can not.
Can someone give a example how to get all cards from a phase?
I read other topic in the pipefy community about this question, but, it’s not functional the solution suggested to get all cards from a phase.
Tks!
How Can I Get All Cards From Phase
Best answer by fonseca
Hi guys, I’m returning here to explain for you that I discovered how to get cards from a specific phase. Follow the code below:
query
{
phase(id: XXXXXXXXX)
{
cards(first: 30, after: "XXXXXXXXXXXXXXXXX")
{
pageInfo
{
hasNextPage
endCursor
}
nodes
{
fields
{
name
value
}
done
}
}
}
}
In the argument “after” you have to put te code that is showed after the first query.
If someone need help, tell me!
Tks!
Reply
Join us in the Pipefy Community! 🚀
No account yet? Create an account
Login with your Pipefy credentials
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.