Setting the interval for refreshing staff queries

Set the interval at which the database refreshes the cached staff queries.

Staff queries are resolved by the specified staff repository. The result is stored in the Business Process Choreographer database. To optimize the staff query resolution performance, the retrieved query results are cached. The cache content is checked for currency when a new process instance is created or the corresponding staff activity is scheduled. By default, the time after which the shared staff query results expire is one hour. If your staff repository changes infrequently, consider using a large value for this property and refreshing your staff queries on demand by using the refreshStaffQuery.jacl script.

You can change the default value for the expiration time for staff query results, in the administrative console.

  1. Go to the custom properties page for the human task container. Click Servers > Application servers > Server_Name > Human task container > Custom properties.
  2. Select StaffQueryResultValidTimeSeconds and enter a new value in seconds.
  3. Click OK.
  4. Save the changes and restart the application server to make the changes effective.
Note: The new expiration time value only applies to new staff queries, it does not apply to existing staff queries.
Related information
Refreshing staff queries, using the administrative console
Refreshing staff queries, using administrative commands

Terms of use |

Last updated: Mon Mar 27 18:01:21 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)