Bring services and rules together

fago@drupal.org's picture
public
groups: Rules · Services
fago@drupal.org - Wed, 2008-04-02 09:04

I think it would be really useful to do a rules engine integration, so one can do service calls by configuring rules (per UI). It looks like one has already to specify the arguments for a service - so we would have to convert this to the format of the rules API and expose an action per service. Basically that should do it already.

Have I forgotten something? What do you think about this idea?


Maybe we can also integrate

amitaibu's picture
amitaibu - Mon, 2008-04-07 10:44

Maybe we can also integrate with XML-RPC of the core, so it will not depend only on services. This, of course, is not to say that Integrating with services is not a good idea :)


Two thumbs up

mikejoconnor - Thu, 2008-04-10 19:12

I think a better rules engine is greatly needed. I like the idea of services integration. I'd like to see it abstract enough that it can be used for a variety of tasks from scheduling/workflow to ecommerce discounts or order fulfillment from multiple locations. Integrating it with core XML-RPC would be great.

Fago, I was looking at

amitaibu's picture
amitaibu - Sun, 2008-04-20 18:06

Fago,
I was looking at Services module and thinking about the integration of Rules/wf_ng with it. My question is if for example we create an action for node_service and using services for a server, then who will invoke it?
And when using services as client, unless it is a Drupal site, one needs to write its own actions.

Am I - what might be very true - just missing the point? ;)


First I'd start with an

fago@drupal.org's picture
fago@drupal.org - Fri, 2008-05-02 09:35

First I'd start with an action "Invoke service" - which should be straight forward. Later, e.g. with 6.x we could support providing services, as 6.x will feature the creation of rule sets, we could provide a rule set as service.


FYI,

amitaibu's picture
amitaibu - Sun, 2008-05-25 23:10

FYI, http://drupal.org/node/262643 - 'Services integration with workflow_ng'


btw, what do you mean by

amitaibu's picture
amitaibu - Sat, 2008-07-12 15:56

btw, what do you mean by rule set - a group of several rules triggered by the same event?