Bring services and rules together

Events happening in the community are now at Drupal community events on www.drupal.org.
fago's picture

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?

Comments

Maybe we can also integrate

amitaibu's picture

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's picture

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

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's picture

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

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

btw, what do you mean by

amitaibu's picture

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

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: