From b43e80a66f2fdbaac6eec37cf0cdec2725fc9d34 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Wed, 21 Feb 2024 18:49:26 +0000 Subject: [PATCH] User: dan@sartography.com created process model examples/2-in-depth/data-stores/json-file-as-data-store --- .../json-file-as-data-store.bpmn | 51 +++++++++++++++++++ .../process_model.json | 9 ++++ .../2-in-depth/data-stores/process_group.json | 27 +++++++++- 3 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 examples/2-in-depth/data-stores/json-file-as-data-store/json-file-as-data-store.bpmn create mode 100644 examples/2-in-depth/data-stores/json-file-as-data-store/process_model.json diff --git a/examples/2-in-depth/data-stores/json-file-as-data-store/json-file-as-data-store.bpmn b/examples/2-in-depth/data-stores/json-file-as-data-store/json-file-as-data-store.bpmn new file mode 100644 index 00000000..1e98782a --- /dev/null +++ b/examples/2-in-depth/data-stores/json-file-as-data-store/json-file-as-data-store.bpmn @@ -0,0 +1,51 @@ + + + + + Flow_17db3yp + + + + + The process instance completed successfully. + + Flow_12pkbxb + + + + + This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a: + + * **Script Task** - write a short snippet of python code to update some data + * **User Task** - generate a form that collects information from a user + * **Service Task** - communicate with an external API to fetch or update some data. + +You can also change the text you are reading here by updating the *Instructions* on this example manual task. + + Flow_17db3yp + Flow_12pkbxb + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/2-in-depth/data-stores/json-file-as-data-store/process_model.json b/examples/2-in-depth/data-stores/json-file-as-data-store/process_model.json new file mode 100644 index 00000000..e1cd1997 --- /dev/null +++ b/examples/2-in-depth/data-stores/json-file-as-data-store/process_model.json @@ -0,0 +1,9 @@ +{ + "description": "", + "display_name": "Json File as Data Store", + "exception_notification_addresses": [], + "fault_or_suspend_on_exception": "fault", + "metadata_extraction_paths": null, + "primary_file_name": "json-file-as-data-store.bpmn", + "primary_process_id": "Process_json_file_as_data_store_95sczqr" +} \ No newline at end of file diff --git a/examples/2-in-depth/data-stores/process_group.json b/examples/2-in-depth/data-stores/process_group.json index a5c473b4..b73f8673 100644 --- a/examples/2-in-depth/data-stores/process_group.json +++ b/examples/2-in-depth/data-stores/process_group.json @@ -15,7 +15,32 @@ "identifier": "movies", "location": "examples/2-in-depth/data-stores", "name": "movies", - "schema": {} + "schema": { + "description": "List of characters in the movie", + "items": { + "properties": { + "actor": { + "description": "Actor who portrays the character", + "type": "string" + }, + "description": { + "description": "Brief description of the character", + "type": "string" + }, + "name": { + "description": "Name of the character", + "type": "string" + } + }, + "required": [ + "name", + "actor", + "description" + ], + "type": "object" + }, + "type": "array" + } } } },