mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
updated mult instance example to use nested forms so all data can be saved w/ burnettk
This commit is contained in:
parent
d905fb842d
commit
7a77b49063
@ -2,9 +2,19 @@
|
||||
"title": "Get Value",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"value": {
|
||||
"values": {
|
||||
"type": "object",
|
||||
"title": "The Values",
|
||||
"properties": {
|
||||
"value_one": {
|
||||
"type": "string",
|
||||
"title": "Value"
|
||||
"title": "Value One"
|
||||
},
|
||||
"value_two": {
|
||||
"type": "string",
|
||||
"title": "Value Two"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
@ -1,5 +1 @@
|
||||
{
|
||||
"ui:order": [
|
||||
"value"
|
||||
]
|
||||
}
|
||||
{}
|
@ -32,20 +32,21 @@
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="get-value-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="get-value-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
<spiffworkflow:postScript />
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_021rv5h</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1wsgus7</bpmn:outgoing>
|
||||
<bpmn:multiInstanceLoopCharacteristics>
|
||||
<bpmn:loopCardinality xsi:type="bpmn:tFormalExpression">int(tasks)</bpmn:loopCardinality>
|
||||
<bpmn:loopDataOutputRef>values</bpmn:loopDataOutputRef>
|
||||
<bpmn:outputDataItem id="value" name="value" />
|
||||
<bpmn:loopDataOutputRef>value_collection</bpmn:loopDataOutputRef>
|
||||
<bpmn:outputDataItem id="values" name="values" />
|
||||
</bpmn:multiInstanceLoopCharacteristics>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_1wsgus7" sourceRef="Activity_1i0kokz" targetRef="Activity_09mrv8o" />
|
||||
<bpmn:manualTask id="Activity_09mrv8o" name="Review">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>You entered:
|
||||
{% for value in values %}
|
||||
{% for value in value_collection %}
|
||||
- {{ value }}
|
||||
{% endfor %}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
|
Loading…
x
Reference in New Issue
Block a user