diff --git a/test/enum-list/Enumeration List.bpmn b/test/enum-list/Enumeration List.bpmn new file mode 100644 index 00000000..6ce3c543 --- /dev/null +++ b/test/enum-list/Enumeration List.bpmn @@ -0,0 +1,57 @@ + + + + + Flow_1e1ms0j + + + + + Flow_1m989hc + + + + Flow_1e1ms0j + Flow_1cg5oba + + + + + + + + Flow_1cg5oba + Flow_1m989hc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/enum-list/Enumeration List.json b/test/enum-list/Enumeration List.json new file mode 100644 index 00000000..7f2bc4ec --- /dev/null +++ b/test/enum-list/Enumeration List.json @@ -0,0 +1,42 @@ +{ + "definitions": { + "currencyEnum": { + "title": "Currency", + "type": "string", + "anyOf": [ + "options_from_task_data_var:enumerations_list" + ] + } + }, + "title": "Submit Invoice", + "description": "Information for submitting an invoice.", + "type": "object", + "required": [ + "filesAccept" + ], + "properties": { + "invoice": { + "type": "object", + "required": [ + "contributorName", + "contributorId", + "invoiceId", + "invoiceAmount", + "invoiceCurrency", + "dueDate" + ], + "title": "", + "properties": { + "invoiceCurrency": { + "$ref": "#/definitions/currencyEnum", + "title": "Select Currency" + } + } + }, + "filesAccept": { + "type": "string", + "format": "data-url", + "title": "Upload Invoice PDF" + } + } +} \ No newline at end of file diff --git a/test/enum-list/workflow.json b/test/enum-list/workflow.json new file mode 100644 index 00000000..3b71a817 --- /dev/null +++ b/test/enum-list/workflow.json @@ -0,0 +1,13 @@ +{ + "description": "Enumeration List", + "display_name": "Enumeration List", + "display_order": 63, + "exception_notification_addresses": [], + "fault_or_suspend_on_exception": "fault", + "files": [], + "id": "enum-list", + "is_review": false, + "primary_file_name": "Enumeration List.bpmn", + "primary_process_id": "Proccess_7siydvb", + "process_group_id": "test" +} \ No newline at end of file