summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVrishali Doke2013-09-06 08:07:56 (EDT)
committerStephan Born2013-10-23 05:37:50 (EDT)
commit043c5f19fb16b45365a1c021747deddb2d633889 (patch)
treefb3e7a945741a0db5cd4ac3d8c1cb553705e4be7
parente79d69009fdd830c45983c5e317a7f3a47a0c3b2 (diff)
downloadorg.eclipse.stardust.documentation-043c5f19fb16b45365a1c021747deddb2d633889.zip
org.eclipse.stardust.documentation-043c5f19fb16b45365a1c021747deddb2d633889.tar.gz
org.eclipse.stardust.documentation-043c5f19fb16b45365a1c021747deddb2d633889.tar.bz2
Jira-ID: CRNT-28678
Added examples for events git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/documentation@67141 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Vrishali Doke <vrishali.doke@sungard.com>
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/ex-one.pngbin0 -> 14880 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-nor.pngbin0 -> 9298 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-sus.pngbin0 -> 12821 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-interupt-timer.pngbin0 -> 7370 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/nonb-nonint.pngbin0 -> 7706 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/time-interupt.pngbin0 -> 7545 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-b-nonint.pngbin0 -> 13310 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-ex.pngbin0 -> 12164 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/tnon-boundary.pngbin0 -> 10302 bytes
-rw-r--r--org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/pep-events.htm106
-rw-r--r--org.eclipse.stardust.docs.dev/html/concepts/workflow-basics/mg-basics-11.htm2
11 files changed, 106 insertions, 2 deletions
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/ex-one.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/ex-one.png
new file mode 100644
index 0000000..5c4f6d6
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/ex-one.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-nor.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-nor.png
new file mode 100644
index 0000000..6045e00
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-nor.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-sus.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-sus.png
new file mode 100644
index 0000000..c265d72
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-int-sus.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-interupt-timer.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-interupt-timer.png
new file mode 100644
index 0000000..8268dfc
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/non-interupt-timer.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/nonb-nonint.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/nonb-nonint.png
new file mode 100644
index 0000000..5dd0afe
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/nonb-nonint.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/time-interupt.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/time-interupt.png
new file mode 100644
index 0000000..b10a244
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/time-interupt.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-b-nonint.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-b-nonint.png
new file mode 100644
index 0000000..28a6b57
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-b-nonint.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-ex.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-ex.png
new file mode 100644
index 0000000..c6b4de9
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/timer-ex.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/tnon-boundary.png b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/tnon-boundary.png
new file mode 100644
index 0000000..c9c93c5
--- /dev/null
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/images/tnon-boundary.png
Binary files differ
diff --git a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/pep-events.htm b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/pep-events.htm
index bf4cd3e..f272ad6 100644
--- a/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/pep-events.htm
+++ b/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/pep-events.htm
@@ -878,9 +878,113 @@ super class or sub class of the exception. If you specify both then in that case
at the time of deployment.
</p>
-
+<!-- Adding multiple timer events, error events with diff exceptions -->
<!-- 29694 -->
+<h2>Examples</h2>
+<h3>Interrupting Timer Boundary Event</h3>
+<p>In the following example, Timer event is specified for the activity named
+<strong>ProcessActvityInTime</strong>. If the user does not complete this activity
+before the specified time interval,
+the timer is reached and the exception flow is followed.
+</p>
+<ol>
+ <li>Create a model as shown in the following screenshot</li>
+ <p class="image"><img src="images/ex-one.png" alt=""> <br>
+<strong>Figure:</strong> Timer Boundary Event - Example</p>
+
+<p>Note that the timer event is Interrupting.
+</p>
+<p class="image"><img src="images/time-interupt.png" alt=""> <br>
+<strong>Figure:</strong> Interrupting Timer Event</p>
+ <li>Now deploy the model and switch to the <strong>Workflow Execution</strong> perspective.</li>
+ <li>Activate the process instance and wait for 5 seconds</li>
+ <!-- <li>Click the <strong>Suspend</strong> option</li> -->
+ <li>Switch to the <strong>Administration</strong> perspective and open the <strong>Activity Overview</strong> panel.
+ Note that the status of the <strong>ProcessActivityInTime</strong> activity is
+ <strong>Aborted</strong> and the exception flow activity named <strong>TimerExceptionFlow</strong>
+ is in <strong>Suspended</strong> state.
+ </li>
+
+ <p class="image"><img src="images/timer-ex.png" alt=""> <br>
+<strong>Figure:</strong> Activity Overview</p>
+</ol>
+
+<h3>Non-interrupting Timer Boundary Event</h3>
+<h4>Scenario 1</h4>
+<p>In the following example, the user waits for the specified time interval so that the
+normal flow is followed.</p>
+<ol>
+ <li>Create a model as shown in the following screenshot</li>
+ <p class="image"><img src="images/timer-b-nonint.png" alt=""> <br>
+<strong>Figure:</strong> Timer Boundary Event - Example</p>
+
+<p>Note that the timer event is non-interrupting.
+</p>
+<p class="image"><img src="images/non-interupt-timer.png" alt=""> <br>
+<strong>Figure:</strong> Non-interrupting Timer Event</p>
+ <li>Now deploy the model and switch to the <strong>Workflow Execution</strong> perspective.</li>
+ <li>Activate the activity named <strong>SourceActivity</strong> and wait for 5 seconds</li>
+ <li>Check that it is still active</li>
+ <li>Complete the activity <strong>SourceActivity</strong></li>
+ <li>Check that the activity named <strong>NormalFlow</strong> is followed</li>
+ <li>Check the activity status in the <strong>Activity Overview</strong> panel
+ of the <strong>Administration</strong> perspective. Note that the activity named <strong>ExceptionFlow</strong> is in
+ <strong>Suspended</strong> state.</li>
+
+ <p class="image"><img src="images/non-int-sus.png" alt=""> <br>
+<strong>Figure:</strong> Activity Overview</p>
+
+</ol>
+
+<h4>Scenario 2</h4>
+
+<p>In the following scenario, the user completes the activity to which the timer event is bound before the timer is over.</p>
+
+<ol>
+ <li>Activate the <strong>SourceActivity</strong> and complete it before the specified timer is over</li>
+ <li>Wait for the time out</li>
+ <li>Verify that boundary event transition is not followed. In
+ the <strong>Activity Overview</strong> panel it does not display the status of the
+ activity named <strong>ExceptionFlow</strong>.</li>
+
+ <p class="image"><img src="images/non-int-nor.png" alt=""> <br>
+<strong>Figure:</strong> Activity Overview</p>
+</ol>
+
+<h3>Timer Non-boundary Event</h3>
+<p>In the following example, the user completes the <strong>SourceActivity</strong> and once the
+the timer is reached, the next activity executes.</p>
+
+<ol>
+ <li>Create a model as shown in the following screenshot</li>
+ <p class="image"><img src="images/tnon-boundary.png" alt=""> <br>
+<strong>Figure:</strong> Timer Non-boundary Event - Example</p>
+ <li>Specify the timer</li>
+ <p class="image"><img src="images/nonb-nonint.png" alt=""> <br>
+<strong>Figure:</strong> Timer Non-boundary Event - Example</p>
+
+ <li>Now deploy the model and switch to the <strong>Workflow Execution</strong> perspective.</li>
+ <li>Activate the activity named <strong>SourceActivity</strong> and complete it</li>
+ <p>Note that the next activity named <strong>TargetActvity</strong> is initiated only when
+ the timer is reached.</p>
+
+ <p class="image"><img src="images/work-nonb.png" alt=""> <br>
+<strong>Figure:</strong> Worklist - Non-boundary Timer Event Activity</p>
+ <li>Open the worklist of the user to activate and complete the next activity. </li>
+
+ work-nonb.png
+
+</ol>
+
+
+
+
+
+<h3>Error Boundary Event</h3>
+
+
+
<script language="JavaScript" type="text/javascript">
diff --git a/org.eclipse.stardust.docs.dev/html/concepts/workflow-basics/mg-basics-11.htm b/org.eclipse.stardust.docs.dev/html/concepts/workflow-basics/mg-basics-11.htm
index df61e12..4d653bc 100644
--- a/org.eclipse.stardust.docs.dev/html/concepts/workflow-basics/mg-basics-11.htm
+++ b/org.eclipse.stardust.docs.dev/html/concepts/workflow-basics/mg-basics-11.htm
@@ -218,7 +218,7 @@ Boundary events can be:
<li>Non-interrupting - fork the process flow </li>
</ul>
<p>You should use Timer Boundary event
-if an activity is not processed within specified] time interval, explanation email should be sent.</p>
+if an activity is not processed within specified time interval, explanation email should be sent.</p>
<p>You should use Error Boundary event in case an error occurs when executing an activity and
the activity should get aborted.</p>