Skip to content

Commit 600df67

Browse files
authored
Update ProcessDefinition.php
1 parent 4f45166 commit 600df67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Models/ProcessDefinition.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public static function byKey($key)
1111
return $processDefinition;
1212
}
1313

14-
public function startInstance()
14+
public function startInstance($data = [])
1515
{
16-
$processDefinition = $this->post('start');
16+
$processDefinition = $this->post('start', $data, true);
1717
return new ProcessInstance($processDefinition->id);
1818
}
1919

0 commit comments

Comments
 (0)