The Rules module is a module that allows site administrators to define actions that are conditionally executed, either programmatically or in response to predetermined events.

learn more… | top users | synonyms

0
votes
1answer
5 views

Rules- how to perform processing on cancelled accounts?

I have my site configured to allow users to cancel their accounts, in which case the account is blocked and the content is unpublished. I made a rule to act on the Event after a user account has been ...
0
votes
1answer
10 views

Redirect user to checkout if there is a product in cart

I'm using commerce checkout redirect module in my commerce site, but in the same time I enabled email verification to register, so the user is redirected to user profile page after he log in. I want ...
0
votes
0answers
2 views

Using Rules to post profile pic in gallery content type

I am trying to have a user's profile picture also saved in his photo gallery when he creates his account. For this, I created a rule: Event: After saving a new user account then Condition: NOT Data ...
0
votes
2answers
16 views

Remove users with no created nodes D7

I have a site setup where users create a node as soon as they login from the activation link sent via email. I've recently been getting tons of people signing up but not creating any nodes because the ...
0
votes
3answers
21 views

Why does this rule not appear in the UI and how can I clone it?

I need to clone and modify the following rule: commerce_checkout_order_email However, it does not appear in the UI. I have checked the following paths with no success: admin/config/workflow/rules ...
0
votes
0answers
7 views

Create Advanced Poll choice via Rules

I currently use the latest versions of Drupal core, Advanced Poll and Rules. I am trying to create a Poll via Rules. Everything works fine but I can't set choices to the poll in Rules. There seems to ...
0
votes
1answer
11 views

Why is Rules reacting on Commerce Events multiple times and out of order?

I am having lots of problems with my site because Rules is evaluating Events multiple times, and out of order. For example, the debug log shows that when I add a product to cart, Rules reacts as ...
0
votes
1answer
12 views

Entity references from a view with list of nodes that can be references to nodes that keeps references

I have a package (node with few entity reference fields - one per content type). Example So on package node I can select nodes that are related (one reference per content type). Now I have new ...
0
votes
0answers
5 views

Why does Rules evaluate an AND when there is only one condition?

I am having trouble with a Rules condition that is not returning the expected value. The debug log shows that my condition is evaluated correctly, but then there is an "AND" that is always evaluated ...
0
votes
0answers
10 views

Drupal 7 Create a new account for an anonymous order only for commerce license orders

With Drupal 7 using Rules 7.27, I've installed and set up Drupal Commerce with no real problems. The rule ‘Create a new account for an anonymous order’ works well but I need to add a condition that ...
0
votes
0answers
7 views

Unable to get Notification settings to set rules in entity form

I have downloaded the Entityform module and later enabled it. Now, I want to apply custom/standard rules in my entity form, for which I have downloaded the Rules module. I have read that in order to ...
0
votes
0answers
11 views

Change sales tax condition in rules depending on a custom field in address

I have changed the condition in my VAT rule and it does what i want, but i get everytime an error when a anonymos user watch the products. In short here is the Rule: { "commerce_tax_type_sales_tax" : ...
0
votes
0answers
9 views

How to use other properties in hook_entity_property_info_alter()

I want to extend the entity properties of OG-Membership to use it as a token in rules. It works fine adding the property (for example the string 'test' as returned in the getter_callback is printed ...
0
votes
0answers
8 views

When exactly do the various Drupal Commerce Rules events occur?

I know that the names are self-explanatory in most cases, but not in some. Is there a canonical list of the Rules Events that Commerce reacts to, showing exactly when they happen? E.g. right now I ...
0
votes
0answers
14 views

How to disable a product variation based on date field?

I have a drupal commerce site that sells courses and events. I need to disable the events variation when the date passes so no one can buy it anymore. But, the content node should stay published even ...
0
votes
2answers
23 views

Rules reacting on an event that hasn't happened?

Rules is acting weird all of a sudden. (v. 1.28) It seems to be reacting on an Event that has not happened. Using Commerce. Debug log shows that Rules reacts on the "Calculating the sell price of a ...
0
votes
1answer
8 views

(Rules) In Rules, is it possible to access the fields of a referenced entity of an entity?

I've got this scheme: entity person, bundle person, entity health, bundle health. Bundle health has field energy. Bundle person has an entity reference of type health. In Rules data selector, I want ...
0
votes
0answers
17 views

Rules: Getting values from within a field

im am using rules and rules conditional and id like to limit the amount of fields i have - so i am trying to reuse fields where i can. is there a way to get data from within a field? i know there i ...
0
votes
1answer
25 views

Commerce Pricing Rules Not Applying During Checkout

I have a pricing rule that's defined essentially along the lines of the one described here, and it appears correctly when I add items to the cart. But as soon as I progress to the check out the prices ...
0
votes
1answer
9 views

Commerce Integrate with Third Party?

I'm trying to integrate Drupal Commerce to a File Maker. Why ? Because my client staffing have been using File Maker for over 15+ years. We are trying to integrate both systems. So my goal is to be ...
0
votes
1answer
26 views

Drupal Commerce - clone product display with referenced product

I am using Commerce Kickstart for Drupal 7, and I need to be able to clone products. In Commerce Kickstart you have all the products just as "reference" of node, product display. I mean, the products ...
-2
votes
0answers
20 views

How to set up rules to act on user proximity?

what 'event' could be used as a drupal rule, to trigger node playback when the smart IP of a user enters the same proximity (eg zip/ lat/long of smart IP) as geolocated content? ie when the lat/long ...
0
votes
1answer
29 views

Drupal7: How to Include an ATTACHMENT to a Drupal's Entityform Submission Email

I am using the Entityform module and the Rules module for its notification . I noticed that the email sent out when the form is submitted does not attach the PDF file as part of the email's body. I ...
0
votes
0answers
10 views

Award userpoints on checkout using rules

I'm trying to award some user points to users who selects a certain plan during his checkout process. Here is the explanation of my website functionality. When a user register with a role, he will ...
0
votes
0answers
12 views

How to redirect og members to their og homepage after they save their user page

In rules i am looking for a way to redirect og members to their og homepage after they save their user page. I have tried two solutions mentioned: https://groups.drupal.org/node/213088 One rule is ...
0
votes
0answers
27 views

Trigger Rule if node has a certain Taxonomy term?

I'm trying to create a rule using Rules that will apply a watermark to an image within a node (using the ImageCache Actions module) if that given node has a specific Taxonomy term. For example, nodes ...
0
votes
1answer
15 views

Rules - anonymous users redirected to user/login prevents request new password link from working

I'm using the rules module with drupal 7 in order to redirect anonymous users to the login page. Events: Drupal is initializing Conditions: User has role(s) - Parameter: User: [site:current-user], ...
0
votes
1answer
20 views

Commerce create order when registering a new account

I would like to create an order automatically when a request for a new account is done. So far I have created a rule that triggers on "After saving a new user account". The product, in this case a ...
0
votes
1answer
14 views

How can I delete nodes when an arbitrary date has past?

I have a situation where future events will be posted to the website in question. These future events are a content type with a date field using the date module. I wish to automatically delete these ...
0
votes
0answers
19 views

Send custom (dynamic) Newsletter to specific list after creating new content with rules

Hallo to everyone and a happy new year! The case that tricks me, is the following: I want to send a custom email to all newsletter subscribers, when a content of specific type and taxonomy is ...
0
votes
0answers
40 views

How to create and send via email a pdf file with rules?

Just this, I need to create and send via email a pdf file with rules using Drupal 7. I need to send the file as an attachment, not as a link. I found this post Generate PDF with Print PDF and send ...
0
votes
0answers
26 views

Send SMS on X day

I have a calendar schedule and within that schedule I have some events. How can I send an SMS to the users on the event day minus some days(event_date - x days)? Thank you very much!
0
votes
1answer
29 views

Rules > Send mail to product's creator?

I tried to use a rule found in another topic (https://www.drupal.org/node/2050565), but it doesn't work. I want to send an automatic email to the product's creator, when the product is sold. { ...
0
votes
0answers
9 views

Restrict commerce coupon by user role

I am making a drupal commerce site. For coupon functionality I am using commerce_coupon module . My question is How can I restrict a coupon by user roles i.e. a particular coupon should be ...
0
votes
0answers
16 views

Error when trying to create new node when using Rules and Webform Default Fields modules

I get the next error when I try to create new node of product Content type: Integrity constraint violation: 1062 Duplicate entry '252-1' for key 'PRIMARY': Insert INTO {webform_component}(nid, ...
0
votes
0answers
33 views

How to pay users programmatically (payment from site to users)

Is there a way to reward registered users with real money in a programmatic way, i.e. via Rules? Like Commerce Card On File but in reverse: My site (or some admin account) has a credit card (or ...
0
votes
1answer
22 views

Fetch HTML and store it as a node

I'd like to automatically (Rules) copy some HTML (that would come from a Forena report, already as an HTML document) into a node. In Rules I couldn't find anything exactly fitting. It might be ...
2
votes
1answer
59 views

Change Quantity of multiple products and add it to cart

I've been looking a while for a good solution to add 2 products with the same quantity to the cart with rules. In my case a customer can buy a basic product and if he wants an additional product he ...
0
votes
1answer
51 views

Rules :0 :1 :2 :3

I'm trying to create a price alert rule and as an action I'm trying to fetch users who flagged a product display. My problem is as follows: When I try to fetch users who flagged a node, I can't ...
0
votes
0answers
16 views

How does one make a field writeable in rules?

Specifically, I would like to use rules to modify a role expiration date created by ubercart. I can select the expiration date, but get a message that it isn't writeable. I assume that there is a ...
2
votes
1answer
44 views

Send E-Mail When User Profile Fields Updated

I am looking to update my brain regarding a set of rules in Drupal 7. What I am wanting to do is: Send e-mail to arbitrary e-mail address (mine) when a user updates any of their user profile fields. ...
0
votes
0answers
20 views

Flagging user's e-mail

I'm trying to make a rule for price alert in a Drupal commerce site. For this purpose, I created a flag "let me know when the price drops" and then created the rule below: { "rules_price_alert" : { ...
0
votes
0answers
35 views

Drupal7: Rules Module - change the FROM field

I am using the entityform module (https://www.drupal.org/project/entityform) with the Rules module (https://www.drupal.org/project/rules/). When the user submit the form, an email notification is ...
0
votes
0answers
33 views

String replace with rules

Is there a way to string replace with rules? I'm trying to find some way to transform values without changing a value entirely. Is there something I'm missing, or should I just make a custom rule ...
0
votes
1answer
20 views

Act on date field value

I have a CT with a Date (Unix timestamp) field implemented. It represents the start date of an event. One simply question: Is there a way to compare somehow, this value with the current date() and ...
1
vote
1answer
18 views

Dates and rules

I've got a rule with php condition. I'm trying to compare 2 dates. the problem comes from the node date. Here is a part of my script: $date= date("Y-m-d"); $node_date= ("[node:field_event_date]"); ...
1
vote
1answer
104 views

Send email to specific users when Webform submitted

How can I send emails to specific user roles when a specific Webform is submitted? For example if a Webform named test is submitted then we have to send email to all users having the role say ...
1
vote
0answers
34 views

How to customize my Drupal search?

I have a Drupal 7.x intranet and I am using the Apache Solr Search module as the backend (basic out of the box setup). My site has content types and custom fields, but it is not using tags/taxonomy, ...
0
votes
1answer
10 views

rules scheduler performance

I use drupal 6 with rules. I have more than 200 scheduled tasks (updating node's field)waiting to be executed at one time. Do I need to worry about server crash or is there some kind of queue ...
0
votes
2answers
21 views

Using rules how to redirect to a url + element id

After saving a node, I am redirecting to another form using rules. I want to be able to append this value "field_article[und][0][nid]" to the url that I am sending to. This corresponds to a select ...