Hi there, fellow ODE user here. I'll try and chime in.
You should be able to recover a BPEL invoke activity using the
following template:
<!-- http://ode.apache.org/extensions/activity-failure-and-recovery.html -->
<bpel:invoke name="emailInvokeSendDeliverTemplate"
inputVariable="variableEmailDeliverTemplateIn"
outputVariable="variableEmailDeliverTemplateOut"
partnerLink="SendPartnerLink" portType="s:SendPort"
operation="deliverTemplate">
<activityRecovery:failureHandling>
<activityRecovery:faultOnFailure>false</activityRecovery:faultOnFailure>
<activityRecovery:retryFor>3</activityRecovery:retryFor>
<activityRecovery:retryDelay>1800</activityRecovery:retryDelay>
</activityRecovery:failureHandling>
<bpel:catchAll>
<bpel:exit name="ExitIfEmailCampaignInvokeFailsToRecover"/>
</bpel:catchAll>
</bpel:invoke>
I'm not familiar with the ODE console, however you have full access to
an instance variables during execution using the supplied
InstanceManagement service. The SOAP service is accessible at
http://ode.local/ode/deployment/services/InstanceManagement Load this
up in SoapUI or similar and explore the various operations.
When an instances terminates/completes, a lot of the useful
information is cleaned up by ODE, see
http://ode.apache.org/instance-data-cleanup.html My recommendation is
to turn off all cleanup locally during testing.
I hope this was useful,
Stan
On Thu, 5 Oct 2017 at 11:10 Dimitris Chorozoglou
<[email protected]> wrote:
>
> Hello,
>
> We are planning to start using Apache ODE as our BPEL engine and I would
> like to ask two questions:
>
> First question is for Failure and recovery extension: Why is there not
> an option to recover instances that have received an exception from an
> invoke activity? We have checked out the source and change the point
> where this handling is performed and we have managed to recover
> exception received from partners, but the question is why wasn't it
> there as an option?
>
> The second question is if there is a way to show a custom variable in
> the ode-console. Is there a way to present a custom variable, or change
> the IID of the instance that is shown in the ode console grid?
>
> Thank you very much!
> -
>