Faults are successful messages from the external service. It is be a
business condition. Based on the business condition, the process should
basically handle it explicitly through Fault handlers. Based on a specific
fault, if retires are necessary then program it in the process accordingly.

Addressing your custom variable, as I understand you want to capture
business data in the process and associate it with the ODE's instance ID.
In order to do that, I wouldn't go changing the engine's data store. ODE
provides a way to capture business data using External Variables [
http://ode.apache.org/extensions/external-variables.html]. You can
configure a different database schema to store it. So from the process you
can assign variable data to these external variables which are mapped to
database tables in a different data store. That way you can have your own
business reporting. From the process one can capture the instance id and
assign it to a external variable.

Does that answer your questions?



On Thu, Oct 5, 2017 at 6:44 PM, Dimitris Chorozoglou <
[email protected]> wrote:

> Yes, I already know this, so I am asking only for the server ODE part and
> not the console.
> Thank you though for pointing that out!
>
> Regards,
>
> Dimitris
>
>
>
> On 05/10/2017 03:27 μμ, Sathwik B P wrote:
>
>> Ah, if you want to make changes in the console ui, the code is maintained
>> in a different repo https://github.com/apache/ode-console
>>
>> Its an AngularJS based application. After compiling it generates a jar
>> file
>> which u need to replace inside ode/WEB-INF/lib
>>
>> Regards,
>> Sathwik
>>
>> On Oct 5, 2017 16:28, "Sathwik B P" <[email protected]> wrote:
>>
>> Dimitris,
>>> Good to know you are using ODE.
>>>
>>> 1) If the invoke fails, it will be registered with activity recovery and
>>> can be retried manually. Or if you want automatic retries, follow Stan's
>>> instructions on activity recovery and failure.
>>> Would you kindly explain the scenario that resulted in making changes to
>>> the code?
>>>
>>> You haven't clarified which version of ODE are you on. ODE 1.3.7 uses a
>>> new console which actually uses the PMAPI webservice (pmapi.wsdl) to
>>> retrieve all the information.
>>> 2) What do you mean by custom variable?
>>>
>>> Just a clarification, ODE doesn't do any data cleanup until its
>>> explicitly
>>> configured in deployment descriptor.
>>>
>>> regards,
>>> sathwik
>>>
>>> On Thu, Oct 5, 2017 at 1:59 PM, Stan Angeloff <[email protected]>
>>> wrote:
>>>
>>> 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:fau
>>>> ltOnFailure>
>>>>          <activityRecovery:retryFor>3</activityRecovery:retryFor>
>>>>          <activityRecovery:retryDelay>1800</activityRecovery:retryDe
>>>> lay>
>>>>        </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!
>>>>> -
>>>>>
>>>>>
>>>
>

Reply via email to