Viewing Subscription Contract Status

The following table lists the possible contract statuses that may display in the Service Operations Monitor when implementing a handler using an application engine program:

Service Operations Monitor Status Description

Working

At runtime, the Service Operations Monitor shows a status of Working for the subscription contract when it is picked up by the subscription contract handler.

Submit

After the application engine program is scheduled successfully, the state of contracts changes to Submit in the Service Operations Monitor. This status indicates that the application engine program has been successfully submitted and a process instance has been returned.

Error

  • If the program does not get scheduled successfully, the status is set to Error

  • A Process Monitor status of Error will change the subscription contract status in the Service Operations Monitor to Error. You must read the error details from the Process Monitor Details page, since the Service Operations Monitor does not have access to the Process Monitor error tables.

Done

When the application engine program has been processed successfully, the status of the contract in the Service Operations Monitor is Done.

Cancel

  • For application engine programs that have Process Monitor status of Cancel or Delete, the status of the subscription contract in the Service Operations Monitor is changed to Cancel.

  • If the instance is deleted from the process scheduler table then the status of the subscription contract is Cancel. This will clear out the contract in the partitioned queue so that the next contract in sequence can be processed.

Note:

In the Service Operations Monitor the Submit status has the same behavior as the Working status, thus proper queue partitioning behavior is maintained. Therefore, intelligent queue partitioning should be taken into account for service operations using the application engine handler.

A Subscription Contract processing an application engine handler cannot be cancelled or resubmitted from the Service Operations Monitor, but rather must be done in the Process Monitor. Once you resubmit or cancel the program in the Process Monitor, the status is updated for the subscription contract. Refresh the Service Operations Monitor page to view the updated status. Note that there could be a delay from when the time you cancel or resubmit the application engine program in the Process Monitor and when the update is seen in the Service Operations Monitor. In addition, at least one Pub/Sub domain must be active for this status update to happen.