Skip to main content

Hi Pipefiers,

I am currently pulling data through the graphql api of Pipefy. However, I am struggling to retrieve the value of PhaseFields. 

Starting from a card, this is the nested structure I use Card > current_phase > fields (of type PhaseField)

 

{
card(id: "xxxx") {
id
title
pipe {
id
name
}
current_phase {
fields {
index_name
index
id
label
description
internal_id
type
options
custom_validation
help
phase {
name
}
}
}
}
}



I can retrieve index, options, id, etc… But I cannot identify the field corresponding the the value of the field. Has anyone faced this issue in the past and how did you retrieve the value of a PhaseField?

Thanks in advance

Solution: Turns out that once populated, the PhaseField also appears in the normal fields list of a card. 

Hope that helps anyone facing the problem in the future.


Hi @mattramo!

Thank you for sharing it with us! Im sure it will help.

See you!😃