Here after the HTTP task , if the status is NOT CONFIRMED , it has to re execute that HTTP task for at least 5 times.(specified by retry count < 5 ) .If retry_count > 5 it has to go for a manual action by a user task.
Is there any way , to get the count , No. of times an activity has been executed so that i can delegate the task for a manual action , as showed in the bpmn image above.