I have my http task like this
<serviceTask id="sid-B8FC8019-55DA-4771-818C-A4B11CC3B66F" name="DEBIT CHECK STATUS" flowable:type="http">
<extensionElements>
<flowable:field name="requestMethod">
<flowable:string><![CDATA[POST]]></flowable:string>
</flowable:field>
<flowable:field name="requestUrl">
<flowable:expression><![CDATA[${debitstatuscheckurl}]]></flowable:expression>
</flowable:field>
<flowable:field name="requestHeaders">
<flowable:expression><![CDATA[${debitstatucheckrequestheaders}]]></flowable:expression>
</flowable:field>
<flowable:field name="requestBody">
<flowable:expression><![CDATA[${debitresponse}]]></flowable:expression>
</flowable:field>
<flowable:field name="requestTimeout">
<flowable:string><![CDATA[600000]]></flowable:string>
</flowable:field>
<flowable:field name="responseVariableName">
<flowable:string><![CDATA[debitstatuscheckresponse]]></flowable:string>
</flowable:field>
<flowable:field name="failStatusCodes">
<flowable:string><![CDATA[400]]></flowable:string>
</flowable:field>
<flowable:failedJobRetryTimeCycle>R5/PT5S</flowable:failedJobRetryTimeCycle>
<flowable:field name="saveResponseParameters">
<flowable:string><![CDATA[true]]></flowable:string>
</flowable:field>
<flowable:field name="resultVariablePrefix">
<flowable:string><![CDATA[debitstatuscheckresponseprefix]]></flowable:string>
</flowable:field>
<flowable:field name="saveResponseParametersTransient">
<flowable:string><![CDATA[true]]></flowable:string>
</flowable:field>
<flowable:field name="saveResponseVariableAsJson">
<flowa`b`le:string><![CDATA[true]]></flowable:string>
</flowable:field>
</extensionElements>
</serviceTask>
Now when the api sends 400 , it does not retry this specific http task 5 times, as configured.
Rather it goes to the service task node which startted execution of this async executor and starts executing that , (I guess that’s happening because execution cycle is failing).
But still it should execute this http task 5 times with an interval of 5s , but not happening.
Is there anything I am missing here?