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
20 views

How to delete an upload from an order in Commerce

I have a situation where the customer uploads a file with their order, the only way currently on our site to delete the artwork is to delete the order or delete files through FTP. Neither of these ...
1
vote
0answers
7 views

Rules Loop does not fully loop through checked taxonomies

I have a content type that has a field which references my Country taxonomy. The field settings are set to unlimited so it is displayed as checkboxes. The country field is also displayed on the users ...
1
vote
1answer
22 views

How to execute a specifc job after some time interval like 5 minutes?

I want to perform a job after 5 minute, I explain what I mean with an example: "I connect to bank gateway, register my order there,they give me transactionId and told me I should verify transaction ...
1
vote
2answers
17 views

Add product variations to product display with rules

Using RULES, can anyone point me in the right direction to add lots of product variations to existing product displays? Everything I've researched seems to be centered around creating the display ...
0
votes
0answers
24 views

Find “next day date” (xx/xx/xx 00:00:00) from a given date & time value in Rules

I'm trying to figure out how to find the next day date (xx/xx/xx 00:00:00) from the given date&time value in rules without the use of PHP filter module. Played with offset already - couldn't get ...
0
votes
0answers
12 views

How do I lookup one value from a View and return a corresponding value in Rules?

I have a node type with two fields: Customer (entity reference) and Type of sale (list text). I have a view (table) that shows the types of sales and the count of those sales using the customer as a ...
0
votes
1answer
26 views

Toggle Modules on or off at a certain time with Rules

I'm looking for a way to toggle a Module on or off based on the time of day using Rules. Ideally, the logic behind it would be something like: IF The time is between 1700 and 0900 AND Module X is ...
0
votes
0answers
13 views

How can I send email to recipients listed on another node connected using entity reference?

I have a content type Job Listing which defines characteristics of a job (position, full-time status, salary, etc). I've also created an Entityform Type of Job Application which includes an Entity ...
0
votes
0answers
8 views

Drupal Rules “User has been removed from group” [Organic Group], Action “Remove User Role” , resubscribes user to group

I am currently trying to figure out why the rule "User has been removed from group" in Organic groups , followed by the action "Remove User Role" from my site resubscribes as though they just ...
0
votes
1answer
13 views

How to pick the most expensive shipping rate

I have a Drupal 7 site with Drupal Commerce e-shop. For most of the products I charge a flat rate, in 3 tiers, some products cost € 5 to ship, some € 6 and some € 25, implemented as three flat rate ...
0
votes
1answer
10 views

Prevent Field From Updating On Follow Up Saves?

Use Case: On Page A (Content Type A), there is a select list with options A and B 1st Rule for Choice A User selects A, and a field "Date You Chose Letter" (a date field) captures the current ...
0
votes
0answers
29 views

Approve userpoints programmatically

I grant my users userpoints with pending status, for some actions on my site. I want to automatically approve the points after 2 weeks. Is there a function to change the status of the points? Also I ...
0
votes
0answers
11 views

Add order discount condition for all enabled currency

How to set order discount condition for all enabled currency. I am using Commerce Discount Module
3
votes
2answers
102 views

revoke access of author to flags

I have a workflow system for my nodes, one of the states is "Disable". also there are some flags on those nodes as well, I'd like to know if there's a way to revoke access of author to use flags when ...
0
votes
0answers
8 views

Inject Link Using Rules->CustomPHP

This is my first question. Short version: I'd like to change what is displayed in a certain rendered Node field, if the viewing user meets certain conditions. I think the Rules action "Execute Custom ...
0
votes
0answers
10 views

Adding possibility in checkout: include VAT in price but don't show on invoice

When filling-in billing information, i would like the customer to have the possibility to choose between a normal invoice and a so called "private" invoice; the latter means, VAT will be calculated ...
0
votes
1answer
22 views

Abandoned webform log

I'm building a huge form with Webform module and need advice for a way to save not fully submitted forms even without Showing "Save draft" button options is enabled and button is visible (which is ...
0
votes
1answer
12 views

Is there a way to send an email to a mailchimp list on the event of a content type being published?

The title says it all, really. I want to trigger the dispatch of an email to a list of subscribers on mailchimp every time a certain content type is published. Using rules I can see that the only ...
0
votes
1answer
34 views

How to create Rule to automatically change workflow stage on node creation? [duplicate]

I want the workflow state to automatically be changed to "Saved" upon node creation with a feed (it is now automatically being created as draft). I am having trouble creating this rule. Can someone ...
1
vote
2answers
25 views

Redirect to profile page every time after logged in

By using Rules Once per Day module, logged in user would be redirected to profile page on specific day. My issue is, every time when user logged in to the site, the user is redirected to profile page. ...
0
votes
0answers
13 views

Go to Checkout Complete without checkout payment

I created a field field_cel_ck_scholar. It's a boolean. I created this field in a customer profile type. My customer profile type is added in a pane in my checkout. When this field is equal TRUE, I ...
3
votes
2answers
124 views

How to programatically convert nodes from draft to saved

Is there a way I can convert all my imported nodes into "saved " status instead of "Draft" programmatically? Can this be done in a hook and what would the code for doing this be? If it can be done ...
0
votes
0answers
7 views

By Pass Payment in Checkout via Rules

I do not know much Rules. You would know a configuration that allows to check a field of checkout and if this one is checked (eg field_ckeck), we pass the milestone and end up on stage Complete? ...
0
votes
1answer
18 views

How to create custom rule event

I'm working on integration of my D7 module with Rules. I have custom SQL table with 2 columns node_id and status. Status may have values 0, 1, 2, 3. How can I create event with hook_rules_event_info ...
2
votes
3answers
179 views

How to create a rule which asks the user whether to proceed or not?

With D7 rules, is there any way to create a rule which asks the triggering user whether to proceed or not? Specifically, I'm trying to set up an "After updating existing content" rule but I would ...
0
votes
1answer
12 views

wysiwyg in rules text field

I've got some rules sending email messages to users. The content of the email is defined in a field in a 'send mail' action and I were wondering if it's possible to use wysiwyg there?
0
votes
0answers
10 views

How to delete a node in menu system when user updated a specific content type article

I have built a content type and some taxonomy There is a problem in my site for now if I selected taxonomy one my node will become to the taxonomy one children in the menu system and if I edited the ...
0
votes
1answer
20 views

How to launch a Rule when X nodes were created in X days time?

I'm currently awarding medals to the users on my website by using the Goals and Rules modules: a medal awarding Rule fires when a Goal is completed. However, I'd like to get rid of the Goals module, ...
1
vote
2answers
70 views

How to specify a Rules event like “Content is 'going to be' viewed”?

As a possible answer to the question about "How to restrict access to a node via node/12 and allow access via content/sometitle?", I thought it should be possible to use the Rules module to do so. I ...
1
vote
1answer
168 views

Limit number of event registrations per month

I'm creating a membership-based site in D7, using Date, Calendar, and Entity Registration (which was very easy to setup). Only authenticated users may register for an event. I'm trying to limit the ...
0
votes
0answers
14 views

Rules sends email to mailto link instead of email address

I've created a content type with an email field. Anonymous users are allowed to create these nodes. I've created a Rule that sends an email message to the value submitted in the node's email field, ...
3
votes
0answers
20 views

Drupal 7 Rules 'fails the check integrity' issue

I need some help with the Rules fails the check integrity issue. I am running the Rules version 7.x-2.7. It works most of the times and appears to be suddenly. When I checked on the dblog it has ...
0
votes
1answer
31 views

How do I get Rules to see my custom entity?

From what I've read in the past few days, Rules will gather all information it needs from hook_entity_info. I still can't get my custom entity to appear in the data selector to make things work ...
1
vote
4answers
28 views

Rule iteration check

I am currently making a site that will implement a system of volume licenses and I am using a system of checking user registration info to check for certain rules. My rule works like this i. On the ...
1
vote
1answer
17 views

Send email to users who has not seen a node in specific time

So this is the scenario : If a node of type "Call Up" is posted on website , a counter starts ticking , after a week an email should be sent to each user of role "Coworker" who has not viewed this ...
0
votes
0answers
21 views

classified ads: paid option with rules and commerce

I am trying to create a classifieds site like the site "leboncoin.fr" I block me at establishing a system of paying options for the advertiser: paying options: -promote your ad for one week (€ 30); ...
0
votes
2answers
26 views

What is the best way to add user points to existing users

I have a dev and prod versions of my D7 site. On dev I developed some functionality based on User Points module and plan to roll out it on prod. But it requires some initial number of user points for ...
0
votes
0answers
23 views

Use Rule to Retain Previous Data?

PLEASE REFER TO SCREEN CAPTURE 1) The URL on this page is: cms-deliverable-table/Texas%20Playschool%20Marketplace/TX-PSM-1928/289 2) The Add a Deliverable link leverages the NID from the URL ...
0
votes
1answer
14 views

Creating followups to Commerce Orders for each Line Item

I had asked a question in another thread, and thought it might be helpful to create its own thread just in case it could be helpful to any other developers out there: "I am trying to create a rule ...
0
votes
1answer
25 views

How to apply an image style based on a condition?

I've been following this discussion: How to apply an image style based on a condition (a date for ex.)? but unfortunately it has not been a success. I would like to have the image to change based on ...
0
votes
0answers
26 views

Email summary of updates performed that month

I wish to email the site owner a summary of any module or core updates performed on a monthly basis. I believe that there is a module to do this in Wordpress. Is there a Drupal module that can ...
0
votes
1answer
17 views

In which step in the checkout process is an user account is created?

I'm using Commerce Kickstart (Drupal 7.23, Kickstart 7.x-2.9). New commerce orders are linked to user accounts. If an account with the same email address does not exist yet, a new account is created. ...
0
votes
1answer
27 views

how to calculate a value by rules

I have three fields in a content type and want to calulate sum of them in another field. First, I use Computed Field but it does not work at all. Then I tried to use conditional field but it is not ...
1
vote
1answer
19 views

Drupal Rule to deselect radio button item?

In Rules, I don't see any option to deselect radio button items. In my rule, I want an Action which is to deselect 'Request Resubmission', as in this screenprint.
0
votes
0answers
11 views

Hide some content types while ceating content without content access module

I am using Node access module and Workbench Suite to create editorial workflow for my site. When user (role with - editor/approver/other editor) clicks on 'Create Content'- they can only see some ...
0
votes
1answer
19 views

Rules setup for Drupal Commerce [closed]

I need to setup a rule on the drupal commerce with the following condition. If Authenticated user added an item in cart and they didn't do the checkout for 24 hours, the site needs to shoot an email ...
0
votes
1answer
61 views

Drupal Commerce: Allow anonymous users to choose their username on checkout

The default setup includes a single option in the "Account Information" pane which allows for an email address. The user's username is then derived from that. I would like to add another field for ...
1
vote
3answers
23 views

Ubercart- Assign new role on expiry

I am granting users specific a role on purchase of some product( using ubercart). In doing so I have added a rule to take away their initial role(so that they do not have 2 roles and confuse the ...
0
votes
2answers
24 views

Color code field in View?

Use case: When the Status is Overdue, the word overdue should display in red, and if it's Accepted, it should display as green. I was hoping to use Rules to set this up, but don't see options to get ...
0
votes
0answers
49 views

Trigger Rule with Filefield 'when field has changed'

This problem has been giving me a headache for four days now, so I thought it'd be best to see if somebody knows of a better answer than me :) I've got a set of different rules that check if various ...