Skip to main content
Solved

Extract moved event from the card

  • May 25, 2023
  • 1 reply
  • 150 views

Forum|alt.badge.img

Hello,


Please, could someone tell me if the Pipefy API can extract moved event data from a card and get the current phase?

Example:

The user moved from Phase 1 to Phase 2;
The user moved from  Phase 2 to Phase 3

I need to have the life of the card and current phase, entrances and exits of the phases in an accumulative way.

Example:
The user moved from Phase 2 to Phase 3 at 21:00
The user moved from Phase 3 to Phase 2(again); 21:30
And so on ...

Best answer by natalia-manffre

Activities only by the card on the front or by Report Request that we extract from the database. In addition to that, I imagine that this query below can help you. With it, you have the information of card creation, the current phase, and when the card entered this current phase:

{
  card(id:XXXXXXX){
    title
     createdAt
      started_current_phase_at
       
    current_phase {
      id
      name
      
    }
    current_phase_age
    finished_at
  }
}


That is the query results:
 

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

1 reply

natalia-manffre
Pipefy Staff
Forum|alt.badge.img+1

Activities only by the card on the front or by Report Request that we extract from the database. In addition to that, I imagine that this query below can help you. With it, you have the information of card creation, the current phase, and when the card entered this current phase:

{
  card(id:XXXXXXX){
    title
     createdAt
      started_current_phase_at
       
    current_phase {
      id
      name
      
    }
    current_phase_age
    finished_at
  }
}


That is the query results:
 


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