Why and when to perform this task
One of the following situations might be caused by a problem with
the staff service or a staff plug-in:
- Stopped staff activities
- Changes to the staff repository that are not immediately reflected in
work-item assignments
Use this overview task to help resolve the problem. You can also go
to the
Technical support search
page,
to look for additional information.
- Stopped staff activities
- You encountered one or more of the following problems:
- Work items resulting from staff activities cannot be claimed although
the business process started navigating successfully.
- The SystemOut.log file contains the following message: BPEE0057I:
Activity 'MyStaffActivity' of processes 'MyProcess' has been stopped because
of an unhandled failure...
This message indicates that WebSphere Application Server security might not be enabled.
Staff activities require that security is enabled and the user registry is
configured. Take the following steps:
- Check that WebSphere security is enabled. In the administrative console,
go to Security > Global Security.
- Check that the user registry is configured. In the administrative console,
go to Security > User Registries.
- Changes to the staff repository that are not immediately reflected in
work-item assignments
- For example, you added the user, Frank, to the staff repository, but Frank
has not received any work items, although he is eligible for them.
This
problem can occur when the cached staff query results for a process template
expire. To optimize the staff query resolution performance, the retrieved
query results are cached. These results are shared for all process instances
of a process template if the content of the context variables is the same
for all query instances. The cache content is checked for currency when a
new process instance is created or the corresponding staff activity gets scheduled.
By default, the time after which the shared staff query results expire is
one hour.
To change the default value, modify the StaffQueryResultValidTimeSeconds variable
in the bpe.properties file. This file is located:
- On UNIX system and z/OS, in the install_root/properties directory
- On Windows systems, in install_root\properties directory
You might need to create the bpe.properties file. For example,
to set the expiry time to one minute, change the variable to:StaffQueryResultValidTimeSeconds=60