This topic applies only to the IBM Business Process Manager Advanced configuration.

queryNumberOfFailedMessages.py administrative script

Use the queryNumberOfFailedMessages.py administrative script to determine whether there are any failed messages for BPEL processes or human tasks, and, if there are, to retry processing them.

Prerequisites

The following conditions must be met:
  • Run the script in the connected mode, that is, do not use the wsadmin -conntype none option.
  • At least one cluster member must be running.
  • Include the wsadmin -user and -password options to specify a user ID that has operator authority.
  • If you are not working with the default profile, use the wsadmin -profileName profile option to specify the profile.

Location

The queryNumberOfFailedMessages.py administrative script is in the Business Process Choreographer admin directory.
For Windows operating systeminstall_root\ProcessChoreographer\admin
For Linux operating systemFor UNIX operating systeminstall_root/ProcessChoreographer/admin

Syntax

-f queryNumberOfFailedMessages.py
           -cluster clusterName
           [ -bfm | -htm ]

Parameters

-f
This parameter specifies the script file to run.
-cluster clusterName
The name of the cluster where Business Process Choreographer is configured. In a multicluster setup, you must specify the application cluster because that is where Business Process Choreographer is configured.
-bfm | -htm
These keywords are optional and mutually exclusive. The default, if neither option is specified is to replay failed messages for both BPEL processes and human tasks. If you want to only replay the messages for BPEL processes, specify the -bfm option. If you want to only replay messages for human tasks, specify the -htm option.