Example completeFormAction

Can we get an example of the mutation completeFormAction?

I tried using this, but I keep getting and error back.

mutation {
  completeFormAction(input: {
    requestNumber:313
    number:2
  }){
    action {
      number
    }
  }
}
{
  "errors": [
    {
      "message": "The Type can only be System.Double, System.DateTime, System.String or ContextFileReference",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "completeFormAction"
      ]
    }
  ],
  "data": {
    "completeFormAction": null
  }
}

Hi Gabriel,

Have you tried this with another process?

Your mutation query worked correctly on my side.

Can you try with the simple approval template?

Regards,
Quentin

Is this only for form designer actions? I am trying with an ASPX form.

Hi Gabriel,

Can you open a ticket in our helpdesk to investigate this issue ? You will can send us your process.

Regards,
Quentin