You can configure a scope activity so that users interacting
with a runtime instance of the process will have administrative authority
over the activities that are nested within the scope activity. You
can achieve enhanced dynamic behavior more directly using a collaboration
scope
in which the associated administration task is automatically
generated when the collaboration scope is added to the BPEL process.
About this task
When, in the runtime environment, the process is stopped
at an activity that is nested within a collaboration scope or a scope
for which dynamicity is configured, an authorized individual can (through
an appropriate client such as Business Process Choreographer Explorer)
skip, undo, or redo that nested activity. The ability to dynamically
modify a process that has already been deployed to a runtime environment
is especially useful in cases where the process describes a series
of steps that are not always necessary. For example, perhaps a business
process models the sequence of steps in an insurance claim. There
might typically be five steps in the insurance claim process being
modelled, but what of situations where it can be settled in just three?
What of situations where one of the steps has to be repeated? Enabling
dynamicity in your BPEL process means that an authorized user can
make changes such as these after the process has been deployed.To
set up dynamic runtime behavior on a collaboration scope or a scope
activity, proceed as follows:
Procedure
- Confirm that the process is long-running.
Because
this involves human tasks, the process on which it is enabled cannot
be modeled in a microflow.
- Drop a collaboration scope or a scope activity onto the
canvas of the process editor and configure it according to your business
needs.
- In the Properties area, select the collaboration scope
or scope activity, click the Administration tab.
- Create or configure a new administration task.
For
a collaboration scope, a new administration task is automatically
created for you. The default setting of this administration task is
that Everybody is an administrator. In realistic
situations you will want to limit who has administrative control over
the activities in the collaboration scope to a specific user or group.
For
a scope activity, no administration task is generated automatically
and you must create and configure a human task to act as the administration
task.
- Configure the administrators of the Human Task to be the
group of people that should have administrative authority over the
collaboration scope or scope activity.
Results
When this process is deployed to a runtime environment,
the authorized user will see a graphical process view of the Business
Process Choreographer Explorer. The user will be able to right-click
an activity that is nested in a scope for which enhanced dynamicity
is configured, and see a menu displaying the various kinds of behavior
that can be influenced.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15