Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How we use services with rules

I want to use drupal rules with services module. I have with services_rule module. It's not working for me. I did't find event for service.

Please help me out.

Thanks

like image 204
Vishal Kamal Avatar asked Dec 11 '15 12:12

Vishal Kamal


1 Answers

Finally I have done it.

Step to use services_rule module with services module in drupal 7.

Step 1: You have to create component in rules. Now you see there is permission option available for this.

enter image description here

You can define variables as argument used in web service . Please see screenshot.

Step 2: Enable this source from service resources: admin/structure/services

See screenshot

enter image description here

like image 97
Vishal Kamal Avatar answered Jan 03 '23 14:01

Vishal Kamal