리소스가 Get Start Form Variables이면 Generated Start Forms 만 지원됩니다.
인보이스 프로세스에는 Embedded Start Form이 사용됩니다. 인보이스 프로세스의 시작 이벤트는 시작 양식을 렌더링하는 데 사용되는 외부 HTML 파일을 참조합니다.
는 here 참조 :
<startEvent id="start">
<extensionElements>
<camunda:formData>
<camunda:formField id="stringField" label="String Field" type="string" defaultValue="someString">
<camunda:validation>
<camunda:constraint name="maxlength" config="10" />
<camunda:constraint name="minlength" config="5" />
</camunda:validation>
</camunda:formField>
<camunda:formField id="longField" label="Long Field" type="long" defaultValue="5">
<camunda:validation>
<camunda:constraint name="max" config="10" />
<camunda:constraint name="min" config="3" />
</camunda:validation>
</camunda:formField>
<camunda:formField id="customField" label="Custom Field" type="string">
<camunda:validation>
<camunda:constraint name="validator" config="org.camunda.bpm.engine.test.api.form.CustomValidator" />
</camunda:validation>
</camunda:formField>
<camunda:formField id="dateField" label="Date Field" type="date" defaultValue="10/01/2013" />
</camunda:formData>
</extensionElements>
</startEvent>
가 전체에 대한 here를 참조하십시오
<startEvent id="StartEvent_1" name="Invoice received" camunda:formKey="embedded:app:forms/start-form.html">
<outgoing>SequenceFlow_1</outgoing>
</startEvent>
당신이 시작 폼 변수를 수신 할 경우, 프로세스의 시작 이벤트는 다음 예제와 유사해야합니다 예제 프로세스. 이 경우 FormService는 양식 변수를 분석 할 수 있으며 요청은 정의 된 변수를 반환합니다.