# Calling Process Asynchronously

**URL:** <https://forum.flowable.org/t/calling-process-asynchronously/956>\
**Category:** Flowable Engine\
**Created:** [September 12, 2017, 5:21pm UTC](https://forum.flowable.org/t/calling-process-asynchronously/956 "2017-09-12T17:21:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinayksharma](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vinayksharma](https://forum.flowable.org/u/vinayksharma)\
**Post date:** [September 12, 2017, 5:21pm UTC](https://forum.flowable.org/t/calling-process-asynchronously/956/1 "2017-09-12T17:21:22Z")

</div>

Hi

I have created few Flowable processes, which are triggered by a REST call . The issue with it is that consumer has to wait for the call to complete before a response is sent back . I want to make the call Asynchronously i.e. Flowable should send the response even before all the steps are done . I agree, that this response full have all the information e.g. “Status” attribute value , but at-least it should have the process- Instance-Id (id). Is there any key which I need to pass in the input to make it work like that ? Currently my request looks like this : -

```
       { "processDefinitionKey": "myProcessKey",
           "returnVariables": true,
           "variables": [{
                          "name": "ucEnvClusterReqId",
                          "value": "79"	
           }]

```

}

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [September 12, 2017, 7:06pm UTC](https://forum.flowable.org/t/calling-process-asynchronously/956/2 "2017-09-12T19:06:43Z")

</div>

If you make the first step (not the start event, but the next) of the process definition async, you’ll get the behaviour you want.

---

<div class="post-metadata">

**Author:** ![vinayksharma](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vinayksharma](https://forum.flowable.org/u/vinayksharma)\
**Post date:** [September 12, 2017, 8:41pm UTC](https://forum.flowable.org/t/calling-process-asynchronously/956/3 "2017-09-12T20:41:22Z")

</div>

Thanks @joram.

Is there a way to make a parameterized i.e. based on a input ( if the caller wants it to be Synch/Asynch ) ?
