summaryrefslogtreecommitdiffstats
blob: 63fcf6d85ee89588797eaa96d0268232fdca07e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">

<link rel="STYLESHEET" href="../../styles/carnot.css" charset="ISO-8859-1" type="text/css">
<title>Specifying Activities</title>
<script language="JavaScript" src="../../styles/naviLine.js" type="text/javascript"></script>
</head>
<body>
<script language="JavaScript" type="text/javascript">
<!--
	writeNavigation("Working with Sequence Flows","PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/toc.html",
        "pep-process.htm","pep-con-sequence.htm",
        "../../toc.html","Business Process Modeling Handbook");
 -->
</script>

<h1>Specifying Activities</h1>
<p>When you create a new activity in the Business Process Modeling perspective, 
by default, it creates a User task. You can create following types of activities in Business
 Process Modeling perspective.</p>
 <ul>
 	<li>Task 
 	<ul>
 	<li>User Task - This <img src="images/manual-act.png"> icon represents the user task. </li>
 	<li>Script Task - This  <img src="images/app-act.png"> icon represents the script task.</li>
 	</ul></li>
 	<li>Subprocess - This  <img src="images/subpro-act.png"> icon represents the subprocess activity.</li>
 
 </ul>
<!--  <p>For more information, please refer to the chapter 
 <a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/concepts/workflow-basics/mg-basics-5.htm">Activities</a> 
  of the 
  <a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/concepts/key-concepts.html">
  Concepts handbook</a>.</p> -->
 
<p>You can perform following operations on activities:</p> 
<ul>
	<li><a href="#add">Adding Activities</a></li>
	<li><a href="#renam">Renaming Activities</a></li>
	<li><a href="#del">Deleting Activities</a></li>
	<li><a href="#fly">Using Activity Flyout Menu</a></li>
	<li><a href="#mod">Viewing and Modifying Activity Properties</a></li>
	
</ul>

<h2 id="add">Adding Activities</h2>
<p>
You can add activities using four different ways:
</p>
<ul>
	<li>In the toolbar, click <strong>Create Activity</strong> icon and drop it to swim lanes</li>
	<p class="image"><img src="images/create-act.png" alt=""> <br>
<strong>Figure:</strong> Create Activity Icon</p>
	
</ul>
<p>OR</p>

<ul>
<li>Hover the mouse in proximity of already added activity in swim lanes and click the <strong>Activity</strong> icon in the flyout menu</li>
<p class="image"><img src="images/create-act-fly.png" alt=""> <br>
<strong>Figure:</strong> Create Activity - Flyout Menu</p>

<li>Drop it in the swim lane</li>

</ul>
<p>By default, User task is created.</p>

<p>OR</p>
<ul>

	<li>Drag an application from the <strong>Applications</strong> node of a model displayed under 
	the <strong>My Process Models</strong> panel 
	and drop it in the swim lane.
	The Script task gets created.</li>
</ul>

<p>OR</p>
<ul>
	<li>Drag a process definition from any model displayed under the <strong>My Process Models</strong> panel 
	and drop it in the swim lane. 
	The subprocess activity gets created.</li>
</ul>


<h2 id="renam">Renaming Activities</h2>

<p>To rename activities, perform the following steps:</p>

<ol>
	<li>Double-click activity name in the swim lanes</li>
	<li>Specify the new name</li>

</ol>

<h2 id="del">Deleting Activities</h2>
<p>To delete activities, perform the following steps:</p>

<ol>
	<li>Hover the mouse in the proximity of the activity</li>
	<li>Click the <strong>Delete</strong> icon in the flyout menu of the activity</li>

	
	<p class="image"><img src="images/del-act.png" alt=""> <br>
<strong>Figure:</strong> Delete Activity - Flyout Menu</p>

</ol>

<h2 id="fly">Using Activity Flyout Menu</h2>
<p>The activity flyout menu is displayed when you hover the mouse in the proximity of the activity.
</p>

	<p class="image"><img src="images/act-fly-menu.png" alt=""> <br>
<strong>Figure:</strong> Activity - Flyout Menu</p>
<p>Following menu options are available in the activity flyout menu.</p>

<table>
	<tr>
		<th>Menu Icon</th>
		<th>Menu Option</th>
		<th>Description</th>	
	</tr>
	<tr>
		<td><img src="images/act-fly-del.png" alt=""></td>
		<td>Delete</td>
		<td>Deletes the activity.</td>
	</tr>
	<tr>
		<td><img src="images/act-fly-man.png" alt=""></td>
		<td>Subprocess</td>
		<td>Changes the activity type to subprocess. Click the Subprocess icon to change the activity type to Subprocess.</td>
	</tr>
	<tr>
		<td><img src="images/act-fly-sub.png" alt="">
		</td>
		<td>Application</td>
		<td>Changes the activity type to Script task. Click the Application icon to change the activity type to Script task.</td>
	</tr>
	<tr>
		<td><img src="images/act-fly-connect.png" alt="">
		</td>
		<td>Sequence Flow</td>
		<td>Starts a connection from the activity. Click the Sequence Flow icon and connect it to another activity.</td>
	</tr>
	<tr>
		<td>
		<img src="images/act-fly-newact.png" alt=""></td>
		<td>New Activity</td>
		<td>Adds a new User task connected from the existing activity. Click the new activity icon and drop it on the swim lane.</td>
	</tr>
	<tr>
		<td>
		<img src="images/act-fly-gateway.png" alt="">
		</td>
		<td>New Gateway</td>
		<td>Adds a new gateway connection to the activity. Click the new gateway connection and drop it between the activities.</td>
	</tr>
	<tr>
		<td><img src="images/act-fly-event.png" alt="">
		</td>
		<td>New End Event</td>
		<td>Adds a new end event to the activity. Click the new end event icon and drop it on the swim lane.</td>
	</tr>
	
</table>

<h2 id="mod">Viewing and Modifying Properties of an Activity</h2>
<h3>General Properties</h3>

<p>To view and modify the properties of an activity, perform the following steps:</p>

<ol>
	<li>Select the activity in the swim lane. 
	The properties window is displayed at the top right corner of the swim lane. </li>
<p class="image"><img src="images/act-gen-prop.png" alt=""> <br>
<strong>Figure:</strong> Activity - General Properties</p>

	<li>Specify the properties:
	<ul>
		<li>UUID - A unique identifier ID gets generated as an identifier for client server communication</li>
		<li>ID - Default ID of the activity</li>
		<p>The <strong>UUID</strong> and <strong>ID</strong> options are displayed only when you switch to 
			<a href="model-views/pep-panels.html">Integrator</a> profile.</p>
		<li>Name - Specify name of the activity</li>
		<li>Description - Specify the description</li>
		<li>Allow Abort by Participant - Determines whether the assigned participant may abort instances of 
		this activity in the @productname@ Portal.
		Note that only the activity itself is aborted, not the root process hierarchy. 
		The process instances will continue as if this activity had been completed.
		This option affects the @productname@ activity operations only. 
		It does not influence the @productname@ API usage.
		<li>Hibernate Initially (Hibernate On Creation) -
		Determines whether the activity instance should directly change its state to 
		hibernated after creation - thus ending the synchronous flow here.</li>
		<li>Supports relocation -Determines if relocation is supported for this 
		activity and it can be used as starting point for the relocation. 
		This check box is enabled for User task and Script task only.</li>
		<li>Is Relocation Target -Determines if the activity is allowed as 
		target point of relocation. For details on relocation, 
		refer to chapter 
<a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/concepts/executing-workflow/concept-relocation.html"> Relocation of Activities</a> 
 of the  <a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/concepts/key-concepts.html">Concepts handbook</a>.</li>
		
		<li>User Task - By default, this option is selected. 
		The default user interface for the user task is <strong>Auto-generated Screen</strong>. 
		It also contains following interactive applications from this model and other models displayed under the <strong>My Process Models</strong>
		panel:
			<ul>
				<li>External Web Application</li>
				<li>JFC Application</li>
				<li>JSF Application</li>
				<li>JSP Application</li>
			</ul>
		If you select one of the above options, the activity becomes interactive and its icon changes to
		the Script task icon.
		</li>
		<li>Script Task - It specifies that the activity should execute a script (non-interactive application).
		The drop-down list contains all defined non-interactive applications displayed under the <strong>My Process Models</strong>
		panel. By default, <strong>To be defined</strong>
		option is selected.		
		</li>
				
		<li>Subprocess - If you select the option, the activity acts as a subprocess and 
		the activity icon 
		changes to subprocess icon with a plus sign in the center-bottom of the activity. 
		The adjacent drop-down list displays all the processes defined in all the models
		displayed under the <strong>My Process Models</strong> panel. By default, <strong>To be defined</strong>
		option is selected.
		<ul>
			<li>Execution - This option provides the facility to decide whether process can be executed synchronously or
			asynchronously. By default, the <strong>Synchronous/Shared Data</strong> option is selected. 
			The drop-down list contains following options:
			<ul>
				<li>Synchronous/Shared Data</li>
				<li>Synchronous/Separate Data</li>
				<li>Asynchronous/Separate Data</li>
			</ul>
			The <strong>Copy All Data </strong> option is selected for the Synchronous/Separate Data and Asynchronous/Separate Data options, by default. 
			It is disabled for the Synchronous/Shared Data option.
			The <strong>Execution</strong> option is displayed only when you switch to 
			<a href="model-views/pep-panels.html">Integrator</a> profile.</li>
			</ul></li></ul>
			
			<p class="image"><img src="images/subprocess.png" alt=""> <br>
<strong>Figure:</strong> Activity - Subprocess</p>
	
		
		<p>For more information, please refer to the chapter 
<a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/modelling/activities/mg-subprocesses.html">Configuring Subprocess Activities</a> of the 
<a href="PLUGINS_ROOT/org.eclipse.stardust.docs.dev/html/handbooks/modelling/mg-preface.htm">Modeling Handbook</a>.</p>
			

</li>
</ol>
<h3>Service Parameters</h3>
<p>Click the <strong>Service Parameters</strong> icon displayed 
at the top-right side of the diagram canvas.</p>

<p class="image"><img src="images/serv-par-icon.png" alt=""> <br>
<strong>Figure:</strong> Service Parameters Icon</p>

<p>Specify the service parameters as applicable.</p>
<p class="image"><img src="images/service-param.png" alt=""> <br>
<strong>Figure:</strong> Service Parameters</p>


<h3>Controlling Properties</h3>
<p>Click the <strong>Controlling Parameters</strong> icon displayed 
at the top-right side of the diagram canvas.</p> 

<p class="image"><img src="images/control-icon.png" alt=""> <br>
<strong>Figure:</strong> Controlling Properties Icon</p>

<p>

The following controlling parameters are available for activities:</p>
<ul>
	<li><strong>Target Processing Time</strong></li>
	<li><strong>Target Execution Time</strong></li>
	<li><strong>Target Idle Time</strong></li>
	<li><strong>Target Waiting Time</strong></li>
	<li><strong>Target Queue Depth</strong></li>
	<li><strong>Target Cost per Execution</strong> </li>
	<li><strong>Resource Performance Calculation</strong> </li>
	
</ul>
<p class="image"><img src="images/controlling.png" alt=""> <br>
<strong>Figure:</strong> Controlling</p>

<h3>Comments</h3>

<p>To add comments for activities, perform the following steps:</p>
<ol>
	<li>Click the <strong>Comments</strong> icon displayed at the top-right corner of the diagram canvas</li>
	<p class="image"><img src="images/act-com-icon.png" alt=""> <br>
<strong>Figure:</strong> Activity - Comment Icon</p>	
	<li>Add comment in the text box and click <strong>Submit</strong></li>
	<p class="image"><img src="images/act-comm.png" alt=""> <br>
<strong>Figure:</strong> Activity - Add Comment</p>
	<li>To delete the comment, select the comment and click the <strong>Delete</strong> icon.</li>

</ol>



<script language="JavaScript" type="text/javascript">
<!-- 
writeFooter(); 
-->
</script>
</body>
</html>