Skip to main content
Solved

Listing field conditions actions via API

  • February 5, 2024
  • 2 replies
  • 250 views

raimundo.santos

HI, there!

I'm trying to get a complex list of conditions for a pipe via GraphQL, but exploring it in https://developers.pipefy.com/graphql it does not give me  the list of actions (hide or show a field).

How can I list these actions via API?

The interface does not give a good overview of the implemented logic there…

Thank you,

Raimundo Santos

Best answer by genietim

The API you are looking for is the FieldCondition: https://api-docs.pipefy.com/reference/objects/FieldCondition/

It is linked to, e.g., the phase query: https://api-docs.pipefy.com/reference/queries/phase/

→ query{phase{fieldConditions{actions{...}}}}

2 replies

genietim
Forum|alt.badge.img+12
  • Legend
  • Answer
  • February 6, 2024

The API you are looking for is the FieldCondition: https://api-docs.pipefy.com/reference/objects/FieldCondition/

It is linked to, e.g., the phase query: https://api-docs.pipefy.com/reference/queries/phase/

→ query{phase{fieldConditions{actions{...}}}}


raimundo.santos

Thank you, @genietim !

 

What got me was the absence of the actions{...} part in the GraphQL navigator.