Skip to main content
Question

Problem using mutation moveCardToPhase

  • January 12, 2023
  • 3 replies
  • 467 views

Forum|alt.badge.img

Hi, I want to update the field Done from false to true of a card using graphQL, how can I do that ? I need to move some cards to next phases:

I´m tryng this mutation:
 

mutation {

  moveCardToPhase(

    input: {

      card_id: cardID

      destination_phase_id: newPhaseID

    }

  ) {

    card {

      id

      current_phase{

        name

      }

    }

    

  }

}


And I’m getting the bellow error

"message": "Card could not be moved to phase id: 1234567"

How can I figure out what fields are required to allow this Phase updating of the card ?


Thanks in advance for any help.

This topic has been closed for replies.

3 replies

Eduardo-Hack
Pipefy Staff
  • Pipefy Staff
  • 2 replies
  • January 12, 2023

Good morning Alexandre, how are you?

A momenot, I'll check it out for you


Eduardo-Hack
Pipefy Staff
  • Pipefy Staff
  • 2 replies
  • January 12, 2023

Alexandre, in this initial phase when the card is going out, do you have mandatory fields that are not filled in?


Lais Laudari
  • 536 replies
  • January 13, 2023

Hi @alexandrevc, did you solve it? Can we still help you?