Skip to main content
Solved

Update title of a card

  • September 21, 2023
  • 1 reply
  • 218 views

caio-pagliarani
Forum|alt.badge.img

I’m trying to update a title of a card without changing the field linked to that.

 

for example. in this pipe, the title field is the “ applicant's name “. but later in the process, we want to change the title to the applicant’s company name, instead of the applicant's name , and i cannot simply delete the applicant's name  and put the company name that i want, because i would lose that information

 

The mutation that i am using is:
“mutation{
   updateFieldsValues(input: {
    clientMutationId: "test"
    nodeId:"card id",
    values:[{ fieldId: "title" value: "New title" }]
  }) {
     clientMutationId
   }
}”

the return is:

“{
  "data": {
    "updateFieldsValues": {
      "clientMutationId": "teste"
    }
  }
}”

But the card remain with the origin title, without chance.

Best answer by lucas-lacerda-pipefy

Hi @caio-pagliarani, how are you? 

 

Could you please try this query

mutation {
  updateCard(input: {id: 779183640, title: "New title"}) {
    card {
      title
    }
  }
}

 

You can find more querys and mutations on this link

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

1 reply

lucas-lacerda-pipefy
Pipefy Staff
Forum|alt.badge.img

Hi @caio-pagliarani, how are you? 

 

Could you please try this query

mutation {
  updateCard(input: {id: 779183640, title: "New title"}) {
    card {
      title
    }
  }
}

 

You can find more querys and mutations on this link


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