You are on page 1of 8

GROUPS

Introduction
Groups are used to specify related sets of activities.
To create a set of activities that have a common error
transition similar to a try...catch block in Java.
To create sets of activities that participate in a
transaction.
To create sets of activities that are executed
conditionally, such as in an if then ... else if ...
construct in a programming language.
To create sets of activities that are to be repeated.
To create a critical section that synchronizes process
definitions.
To specify that the first activity that completes should
determine which transition(s) to take to continue
processing.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

No Action Groups
A set of related activities can be grouped, with a
common set of transitions into and out of the
group.
No action groups are primarily useful for
specifying a single error transition out of the
group.
If an unhandled error occurs in the group, only
one error transition is needed instead of an error
transition for each activity. This behavior is similar
to a try...catch block in Java.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Critical Section Groups


Critical section groups are used to synchronize process
instances so that only one process instance executes
the grouped activities at any given time.
Any concurrently running process instances that
contain a corresponding critical section group wait until
the process instance that is currently executing the
critical section group completes.
Critical Section groups are particularly useful for
controlling concurrent access to shared variables.
Critical section groups can be used to synchronize all
process instances for a particular process definition in a
single process engine, or you can synchronize process
instances for multiple process definitions, or you can
WISHTREE
synchronize
TECHNOLOGIES CONFIDENTIAL:
process
This document
instances
is for your company'sacross
internal use onlymultiple
and may not be copied
process
nor
distributed to another third party.
engines.

Pick First Groups


Pick first groups allow process execution to wait
for one or more events.
The first event that completes determines which
transition to take to continue processing.
For example, as part of an order-entry system,
when an order is placed, a check is made to see if
the order can be filled from stocked inventory or
from returned merchandise.
Whichever system returns the information first is
used to fill the order. If neither system returns the
information about available inventory, the order
times out and cancels.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Other Groups and Loops


If groups can be used to conditionally execute business
logic. The If group allows to specify a set of conditions
that are evaluated in order.
An Iterate loop repeats the series of grouped activities
once for every item in an existing sequence or list. The
list can be items of any datatype. The following is an
example of an iterate loop.
The Repeat Until True loop repeats the series of
grouped activities until the given condition evaluates to
true. The activities are always executed once before
checking if the condition is true. After executing the
series of activities, the condition is checked, and the
loop exits when the condition evaluates as true.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Other Loops
The While True loop repeats the series of grouped
activities as long as the given condition evaluates as
true. The condition is evaluated when the group is
entered.If the condition evaluates to false, the
activities within the group are not executed.
The Repeat On Error Until True loop allows you to
repeat a series of activities when an unhandled error
occurs. The activities in the group are executed once. If
there are no unhandled errors, the loop terminates. If
an error occurs for which there is no error transition,
the condition of the loop is evaluated if the condition
is true, the loop terminates, if the condition is false, the
loop repeats until there is no error occurs or the
WISHTREE
TECHNOLOGIESis
CONFIDENTIAL:
condition
true. This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Thank You
Contact Us:
WishtreeTechnologies
Suite 311, Bldg B,
Ganga Osian(GO) Square IT Park,
Wakad Rd, Kaspate Wasti,
Wakad, Pune, 411057
Contact No. +912060123456
Email id:learning@wishtreetech.com
US Contact No. +415-251-5098
UK Contact No. +44 7937436285
Mobile No. India +91 9687206535
Website:
http://www.wishtreetech.com
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

You might also like