diff --git a/category_number_one/workflow_one/sample.bpmn b/category_number_one/workflow_one/sample.bpmn index 59ff3525..afb2c8a8 100644 --- a/category_number_one/workflow_one/sample.bpmn +++ b/category_number_one/workflow_one/sample.bpmn @@ -1,14 +1,13 @@ - Flow_10jwwqy - + Flow_1hd6o66 - + @@ -36,7 +35,7 @@ {} {} - + {"current_user": {"id": "1", "username": "kb"}}{"Mike": "Awesome", "current_user": {"id": "1", "username": "kb"}, "heyhey": "https://demo.spiffworkflow.org", "i": 2, "members": [], "my_var": "whatwhat", "person": "Kevin"} Flow_10jwwqy Flow_0htxke7 @@ -54,7 +53,7 @@ members = get_group_members("Finance Team") for i in [0, 1, 2]: pass - + wonderful @@ -66,31 +65,31 @@ for i in [0, 1, 2]: - + - + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/demo/demo-preload/demo-preload_JSONSchema.json b/demo/demo-preload/demo-preload_JSONSchema.json new file mode 100644 index 00000000..ed8536ae --- /dev/null +++ b/demo/demo-preload/demo-preload_JSONSchema.json @@ -0,0 +1,28 @@ +{ + "title": "Submit Invoice", + "description": "Information for submitting an invoice.", + "type": "object", + "properties": { + "ValidationChoices": { + "type": "array", + "title": "A multiple choices list", + "items": { + "type": "string", + "enum": [ + "Number in Name", + "Too many decimals", + "Due date before today's date" + ] + }, + "uniqueItems": true + }, + "scenarioChoices": { + "type": "string", + "title": "Select Currency", + "enum": [ + "Correct amount", + "incorrect amount" + ] + } + } +} \ No newline at end of file diff --git a/demo/demo-preload/demo-preload_UISchema.json b/demo/demo-preload/demo-preload_UISchema.json new file mode 100644 index 00000000..84ea2df9 --- /dev/null +++ b/demo/demo-preload/demo-preload_UISchema.json @@ -0,0 +1,11 @@ +{ + "scenarioChoices": { + "ui:widget": "radio", + "ui:options": { + "inline": false + } + }, + "ValidationChoices": { + "ui:widget": "checkboxes" + } +} \ No newline at end of file diff --git a/demo/demo-preload/preload-data.bpmn b/demo/demo-preload/preload-data.bpmn new file mode 100644 index 00000000..6e557e77 --- /dev/null +++ b/demo/demo-preload/preload-data.bpmn @@ -0,0 +1,44 @@ + + + + + Flow_0tccoiv + + + + + + + + + + Flow_0tccoiv + Flow_1szj88a + + + Flow_1szj88a + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/demo-preload/workflow.json b/demo/demo-preload/workflow.json new file mode 100644 index 00000000..7ffbce21 --- /dev/null +++ b/demo/demo-preload/workflow.json @@ -0,0 +1,13 @@ +{ + "description": "Demo Preload", + "display_name": "Demo Preload", + "display_order": 2, + "exception_notification_addresses": [], + "fault_or_suspend_on_exception": "fault", + "files": [], + "id": "demo-preload", + "is_review": false, + "primary_file_name": "preload-data.bpmn", + "primary_process_id": "Proccess_9ulv7w8", + "process_group_id": "demo" +} \ No newline at end of file