# Modeler + Rest API; How to send deep JSON Request to start Process-Definition?

**URL:** <https://forum.camunda.io/t/modeler-rest-api-how-to-send-deep-json-request-to-start-process-definition/7567>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [June 4, 2018, 3:40pm UTC](https://forum.camunda.io/t/modeler-rest-api-how-to-send-deep-json-request-to-start-process-definition/7567 "2018-06-04T15:40:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![unkown](https://forum.camunda.io/letter_avatar_proxy/v4/letter/u/d2c977/32.png) [@unkown](https://forum.camunda.io/u/unkown)\
**Post date:** [June 15, 2018, 9:42am UTC](https://forum.camunda.io/t/modeler-rest-api-how-to-send-deep-json-request-to-start-process-definition/7567/7 "2018-06-15T09:42:30Z")

</div>

> [@Use Camunda Spin in Modeler?](https://forum.camunda.io/t/use-camunda-spin-in-modeler/7645/7):
>
> So now it worked…
> 
> I am not realy sure what i did wrong.
> 
> But it created a new BPMN like the old one. created a Script Task to convert the input String from the API
> 
> =\> S(product) and the Sequence Flow got the expression:
> 
> ${product.prop(“meta”).prop(“x”).numberValue()==2}
> 
> My Input (REST API POST) look like this:
> 
> {
> 
> “variables”:
> 
> {
> 
> “product”:
> 
> {
> 
> “value”:“{“meta”:{“category”:2}}”,“type”:“String”
> 
> }
> 
> }
> 
> }
> 
> No Exceptions and the right output by my workflow.
> 
> thanks for all your helpful suggestions 🙂

🙂

---

_[View the full topic](https://forum.camunda.io/t/modeler-rest-api-how-to-send-deep-json-request-to-start-process-definition/7567)._
