Hi James,
Here is an example of condition-service:
<condition-service service-name="isTestConditionService”/>
Here is the service definition:
<service name="isTestConditionService" engine="simple"
location=“<location>" invoke="isTestConditionService" auth="true">
<description>Test service for condition-service</description>
<attribute name="serviceContext" mode="IN" type="Map" optional="true"/>
<attribute name="serviceName" mode="IN" type="String" optional="true"/>
<attribute name="conditionReply" mode="OUT" type="Boolean"/>
</service>
Service must return conditionReply as Boolean.
Thanks & Regards
—
Deepak Dixit
> On Dec 16, 2014, at 9:34 AM, Jacques Le Roux <
[hidden email]> wrote:
>
> There are no examples. You simply specify the name of a service, and it calls that service with the current ECA context. The service returns a boolean. I must say I never used it...
>
> Jacques
>
> Le 15/12/2014 17:16, james_sg a écrit :
>> Hi all,
>>
>> I am looking to use the condition-service tag in an eca. Can't find an
>> example for it.
>>
>> Regards,
>> James
>>
>>
>>
>> --
>> View this message in context:
http://ofbiz.135035.n4.nabble.com/condition-service-tag-tp4659623.html>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>