# Example completeFormAction

**URL:** <https://discuss.workflowgen.com/t/example-completeformaction/1338>\
**Category:** GraphQL\
**Created:** [March 12, 2019, 4:07am UTC](https://discuss.workflowgen.com/t/example-completeformaction/1338 "2019-03-12T04:07:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParadimeWeb](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@ParadimeWeb](https://discuss.workflowgen.com/u/ParadimeWeb)\
**Post date:** [March 12, 2019, 4:07am UTC](https://discuss.workflowgen.com/t/example-completeformaction/1338/1 "2019-03-12T04:07:23Z")

</div>

Can we get an example of the mutation completeFormAction?

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

```json
mutation {
  completeFormAction(input: {
    requestNumber:313
    number:2
  }){
    action {
      number
    }
  }
}

```

```json
{
  "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
  }
}

```

---

<div class="post-metadata">

**Author:** ![qpomarel](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/qpomarel/32/262_2.png) [@qpomarel](https://discuss.workflowgen.com/u/qpomarel)\
**Post date:** [March 12, 2019, 6:35pm UTC](https://discuss.workflowgen.com/t/example-completeformaction/1338/2 "2019-03-12T18:35:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ParadimeWeb](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@ParadimeWeb](https://discuss.workflowgen.com/u/ParadimeWeb)\
**Post date:** [March 13, 2019, 7:43am UTC](https://discuss.workflowgen.com/t/example-completeformaction/1338/3 "2019-03-13T07:43:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![qpomarel](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/qpomarel/32/262_2.png) [@qpomarel](https://discuss.workflowgen.com/u/qpomarel)\
**Post date:** [March 13, 2019, 12:46pm UTC](https://discuss.workflowgen.com/t/example-completeformaction/1338/4 "2019-03-13T12:46:29Z")

</div>

Hi Gabriel,

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

Regards,  
Quentin
