You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by james_sg <sn...@hotmail.com> on 2014/12/15 17:16:45 UTC
condition-service tag
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.
Re: condition-service tag
Posted by james_sg <sn...@hotmail.com>.
Thanks Deepak
Deepak Dixit-2 wrote
> 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 <
> jacques.le.roux@
> > 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.
>>>
>
>
>
> smime.p7s (6K)
> <http://ofbiz.135035.n4.nabble.com/attachment/4659641/0/smime.p7s>
--
View this message in context: http://ofbiz.135035.n4.nabble.com/condition-service-tag-tp4659623p4659649.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: condition-service tag
Posted by Deepak Dixit <de...@hotwaxmedia.com>.
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 <ja...@les7arts.com> 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.
>>
Re: condition-service tag
Posted by Jacques Le Roux <ja...@les7arts.com>.
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.
>