# startProcessInstanceWithForm cannot intialize businesskey

**URL:** <https://forum.flowable.org/t/startprocessinstancewithform-cannot-intialize-businesskey/6942>\
**Category:** Flowable Engine\
**Created:** [October 19, 2020, 8:05am UTC](https://forum.flowable.org/t/startprocessinstancewithform-cannot-intialize-businesskey/6942 "2020-10-19T08:05:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![forflower](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/forflower/32/2028_2.png) [@forflower](https://forum.flowable.org/u/forflower)\
**Post date:** [October 19, 2020, 8:05am UTC](https://forum.flowable.org/t/startprocessinstancewithform-cannot-intialize-businesskey/6942/1 "2020-10-19T08:05:59Z")

</div>

When I use startProcessInstanceWithForm ,I can not specify the businesskey for it .And I see the source code,  
ProcessInstanceBuilder processInstanceBuilder = createProcessInstanceBuilder()  
.processDefinitionId(processDefinitionId)  
.outcome(outcome)  
.startFormVariables(variables)  
.name(processInstanceName);  
why don’t you include “.businessKey” in it?Is it no need to use businessKey in form process?  
Looking forward to your answer{^ . ^}

---

<div class="post-metadata">

**Author:** ![pstapleton](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pstapleton/32/678_2.png) [@pstapleton](https://forum.flowable.org/u/pstapleton)\
**Post date:** [October 21, 2020, 6:38am UTC](https://forum.flowable.org/t/startprocessinstancewithform-cannot-intialize-businesskey/6942/2 "2020-10-21T06:38:21Z")

</div>

When not just use the `ProcessInstanceBuilder` directly, instead of the `runtimeService.startProcessInstanceWithForm (...)` method?  
Then you can add whichever additional parameters you need. Something like this should work:

```auto
ProcessInstanceBuilder processInstanceBuilder = runtimeService.createProcessInstanceBuilder()
    .processDefinitionId(processDefinitionId)
    .outcome(outcome)
    .startFormVariables(variables)
    .name(processInstanceName)
    .businessKey(myBusinessKey)
    .start();

```
