Patent ID: 7475073

Claim:
A method for improving a staff query for a process model having activities associated therewith to be executed by a resource from an available group of resources, the staff query being utilized to identify a set of the resources which can execute one of the activities, said method comprising the steps of: generating a first staff query for an activity; selecting a first set of resources for executing the activity based on the first staff query; storing information regarding execution of the activity in an audit trail, said storing step further comprising storing information in the audit trail regarding a transfer of the activity from a first resource to a second resource following failure of the first resource to successfully execute the activity and storing an entry regarding execution of each of the activities in the audit trail, each entry providing information with respect to an execution history for the corresponding activity; if the activity was not successfully executed by one of the resources from the first set of resources, analyzing the audit trail, said analyzing step being performed at predefined time intervals; generating a second staff query based on results from the analysis of the audit trail, said generating step further comprising generating the second staff query by modifying the first staff query based on information contained in the audit trail and generating the second staff query from information contained in the audit trail only if the first staff query fails to meet a specified standard; and, selecting a second set of resources for executing the activity based on the second staff query; and, generating an alert signal when the second staff query does not result in an improved set of resources for executing the activity.