diff --git a/extensions/support/contact-form-exampledata.json b/extensions/support/contact-form-exampledata.json
new file mode 100644
index 00000000..9e26dfee
--- /dev/null
+++ b/extensions/support/contact-form-exampledata.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/extensions/support/contact-form-schema.json b/extensions/support/contact-form-schema.json
new file mode 100644
index 00000000..b54e4ab1
--- /dev/null
+++ b/extensions/support/contact-form-schema.json
@@ -0,0 +1,11 @@
+{
+ "title": "Contact",
+ "description": "Let us know what you are having trouble with.",
+ "type": "object",
+ "properties": {
+ "details": {
+ "type": "string",
+ "title": "Details"
+ }
+ }
+}
\ No newline at end of file
diff --git a/extensions/support/contact-form-uischema.json b/extensions/support/contact-form-uischema.json
new file mode 100644
index 00000000..0cde8135
--- /dev/null
+++ b/extensions/support/contact-form-uischema.json
@@ -0,0 +1,5 @@
+{
+ "details": {
+ "ui:widget": "textarea"
+ }
+}
\ No newline at end of file
diff --git a/extensions/support/extension_uischema.json b/extensions/support/extension_uischema.json
index 02350f57..f66d7bc9 100644
--- a/extensions/support/extension_uischema.json
+++ b/extensions/support/extension_uischema.json
@@ -12,7 +12,20 @@
"components": [
{
"name": "MarkdownRenderer",
- "arguments": {"source": "## Support\n\nFor support using this app, contact:\n\n* **phone**: 555-5555\n* **email**: support@example.com"}
+ "arguments": {"source": "SPIFF_PROCESS_MODEL_FILE:::support-markdown.md"}
+ },
+ {
+ "name": "CustomForm",
+ "arguments": {
+ "id": "contact-form",
+ "formData": {},
+ "schema": "SPIFF_PROCESS_MODEL_FILE:FROM_JSON:::contact-form-schema.json",
+ "uiSchema": "SPIFF_PROCESS_MODEL_FILE:FROM_JSON:::contact-form-uischema.json"
+ },
+ "on_form_submit": {
+ "api_path": "support",
+ "persistence_level": "full"
+ }
}
]
}
diff --git a/extensions/support/support-markdown.md b/extensions/support/support-markdown.md
new file mode 100644
index 00000000..702e8da9
--- /dev/null
+++ b/extensions/support/support-markdown.md
@@ -0,0 +1,6 @@
+## Support
+
+For support using this app, contact:
+
+* **phone**: 555-5555
+* **email**: support@example.com
\ No newline at end of file
diff --git a/extensions/support/support.bpmn b/extensions/support/support.bpmn
index f9bd8713..27e57a2b 100644
--- a/extensions/support/support.bpmn
+++ b/extensions/support/support.bpmn
@@ -12,7 +12,7 @@
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:
@@ -21,10 +21,15 @@
* **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
-
+ hey = 1
+
@@ -34,9 +39,8 @@ You can also change the text you are reading here by updating the *Instructions*
-
+
-