summaryrefslogtreecommitdiffstats
path: root/docs/bpmn/BPMN_Subprocess_Process_Flows.rst
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2018-08-21 20:49:19 +0800
committerseshukm <seshu.kumar.m@huawei.com>2018-08-21 20:50:04 +0800
commitcb4f87025be4cb4b5466abc186c3785d003ef770 (patch)
tree3272149afc37c6656406110ad76ef05608acf6f9 /docs/bpmn/BPMN_Subprocess_Process_Flows.rst
parent9c58cdde6b5d63ffbc41ae7725313ed6a96ddd1c (diff)
Fix the structure in the doc for bpmn
Issue-ID: SO-675 Change-Id: I2dc7bc2f77b191a60206678a6fe25bd2ef81f83c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'docs/bpmn/BPMN_Subprocess_Process_Flows.rst')
-rw-r--r--docs/bpmn/BPMN_Subprocess_Process_Flows.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/bpmn/BPMN_Subprocess_Process_Flows.rst b/docs/bpmn/BPMN_Subprocess_Process_Flows.rst
new file mode 100644
index 0000000000..098f38ff02
--- /dev/null
+++ b/docs/bpmn/BPMN_Subprocess_Process_Flows.rst
@@ -0,0 +1,32 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. Copyright 2017 Huawei Technologies Co., Ltd.
+
+BPMN Subprocess Process Flows
+==============================
+
+Characteristics
+----------------
+
+**Invoked by other flows**
+
+ A BPMN Call_Activity_ provides the mechanism to invoke subprocess flows. The Called Element attribute of the Call Activity specifies the name of the subprocess to execute.
+
+.. _Call_Activity: https://docs.camunda.org/manual/7.7/reference/bpmn20/subprocesses/call-activity/
+
+**Input and Output variable mapping**
+
+ In the modeler, you can specify a list of "In Mappings". With this, you can map execution variables from the calling flow to the subprocess. The subprocess always has its own copy of each variable. To transfer values back to the calling flow, you specify "Out Mappings".
+
+**May throw MSOWorkflowException**
+
+ The current best practice for reporting errors from subprocess is described here:
+
+ * The subprocess should create a WorkflowException object and store it in an execution called WorkflowException.
+ * The WorkflowException object contains an error code and an error message.
+ * The subprocess should then throw an MSOWorkflowException BPMN event which may be handled by the calling flow.
+
+Example: VnfAdapterRestV1.bpmn
+-------------------------------
+
+.. image:: images/BPMN_Subprocess_process_flows_1.png