Plan item execution not retried after failure

Plan item execution not retried after failure

book

Article ID: KB0073523

calendar_today

Updated On:

Products Versions
TIBCO Order Management 5.x

Description

Use case:

After processing the plan item execute request, the process component returns a failed or incomplete execution response. Strangely, FOM does not retry the plan item execution as per below configuration(set in ConfigValues_OMS.xml). Instead, it is referred directly to the Plan Item Error Handler. 

=== 
<ConfValue description="The number of retries to be done for failed plan items execution request" isHotDeployable="true" name="Maximum number of retries for failed plan items" propname="com.tibco.fom.orch.failedPC.maxRetryCount" readonly="false" sinceVersion="2.1" visibility="Basic">
                                        <ConfNum default="3" value="3"/>
      </ConfValue>
<ConfValue description="The time interval between two consecutive retry attempts for failed plan items" isHotDeployable="true" name="Time interval between consecutive retry attempts for failed plan items" propname="com.tibco.fom.orch.failedPC.retryInterval" readonly="false" sinceVersion="2.1" visibility="Basic">
      <ConfNum default="5000" value="5000"/>
</ConfValue>
===               
 

Environment

ALL

Resolution


The plan item is not re-executed because in the related plan fragment, the below flag is set to "false":
==
<pf:retryFailed>false</pf:retryFailed>
===
This overrides the configuration defined in 'ConfigValues_OMS.xml' file. If you set 'retryFailed' to true, plan item will get retried. So to solve the issue, catalog should be updated and loaded again into FOM.

Issue/Introduction

This article deals with a use case where a plan item does not get re-executed whereas FOM is configured to retry a failed plan item.