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
- To go to the custom properties page for the human task container:
Click then
on the Configuration tab in the Container
Settings section, click .
- 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.
- 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.
- Click OK.
- 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.