Skip to main content
Solved

Date enters the phase

  • February 11, 2022
  • 3 replies
  • 150 views

juliamsantarosa
Hello community!How do I find out the date the card entered the phase?Thanks for the attention.

Best answer by Lucas Democh

Hello @juliamsantarosa 

You can use the code below to extract information from the current phase of the card.

I left all phase field options available in the code.

{
  pipe (id: XXXXXXXX) {
    id
    name


phases {
      name
      id
      cards (first: 1) {
        edges{
          node{
            id
            title


}
          node{
            current_phase {
            id
           name
          }

phases_history {
  became_late
  created_at
  draft
  duration
  firstTimeIn
  lastTimeIn
  lastTimeOut
}}
        }      
      }         
    }
  }}

 

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

3 replies

Lucas Democh
Forum|alt.badge.img+15
  • Pipefy Legend
  • 396 replies
  • Answer
  • February 11, 2022

Hello @juliamsantarosa 

You can use the code below to extract information from the current phase of the card.

I left all phase field options available in the code.

{
  pipe (id: XXXXXXXX) {
    id
    name


phases {
      name
      id
      cards (first: 1) {
        edges{
          node{
            id
            title


}
          node{
            current_phase {
            id
           name
          }

phases_history {
  became_late
  created_at
  draft
  duration
  firstTimeIn
  lastTimeIn
  lastTimeOut
}}
        }      
      }         
    }
  }}

 


juliamsantarosa
  • Author
  • Regular Participant
  • 3 replies
  • February 13, 2022

Hello @Lucas Democh!

 

I tried using your code and it worked. Thank you so much for the reply and help.


alicereis
Forum|alt.badge.img+5
  • Regular Participant
  • 59 replies
  • February 17, 2022

Or you can use this code if you want just to know when the card starts in the current phase:

 

{
  card (id: "xxxxxxxxx") {

    started_current_phase_at
    }
}

 


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