Refreshing staff query results, using the refresh daemon

Use this method if you want to set up a regular and automatic refresh of all expired staff query results.

Why and when to perform this task

Staff queries are resolved by the specified staff plug-in provider repository. The result is stored in the Business Process Choreographer database. To optimize the authorization performance, the retrieved query results are cached. The cache content is checked for currency when the staff query refresh daemon is invoked.

In order to keep staff query results up to date, a daemon is provided that refreshes expired staff query results on a regular schedule. The daemon refreshes all cached staff query results that have expired.

Steps for this task

  1. To go to the custom properties page for the human task container:

    Click Servers > Application servers > Server_Name then on the Configuration tab in the Container Settings section, click Human task container settings > Runtime Configuration.

  2. In the field Staff query refresh schedule enter the schedule using the syntax as supported by the WebSphere CRON calendar. This value determines when the daemon will refresh any expired staff query results. The default value is "0 0 1 * * ?", which causes a refresh every day at 1 am.
  3. In the field Timeout for staff query result enter a new value in seconds. This value determines how long a staff query result is considered to be valid. After this time period, the staff query result is considered to be no longer valid, and the staff query will be refreshed the next time that the daemon runs. The default is one hour.
  4. Click OK.
  5. Save the changes and restart the human task container application to make the changes effective.

    The new expiration time value applies only to new staff queries, it does not apply to existing staff queries.

Related tasks
Refreshing staff queries, using the administrative console
Refreshing staff queries, using administrative commands

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