Questions tagged [rules]

Use it for questions about the engine which allows site administrators to automate actions: the Rules module.

Filter by
Sorted by
Tagged with
2
votes
2answers
122 views

How to limit adding content of a specific content type to paid memberships only?

I have created a user role "seller" when user enters to their account a "Add blog post"-tab is shown to user when user click on it he/she can add "Add blog posts" "Add blog posts" is a node form ...
2
votes
2answers
315 views

Using computed field value in Rules

I'm using Commerce module and I have a line item with a computed field that's calculating a date. This field finally shows a date. Then during the checkout process I have a form with a Date field (...
2
votes
1answer
422 views

Where is the Rules Evaluation Log?

Where is the Rules Evaluation Log? I need to view it but I can't find it.
2
votes
1answer
339 views

How to send an email using Rules when a node's boolean field is changed?

I managed to setup email notification via the Rules module when the content is updated. But I want to limit this only when the value changes in a specific field that is boolean "Yes", "No". Update: ...
2
votes
1answer
75 views

+1 user field after comment is made

I created a new user field to keep count of comments. I want to increase it by 1 after a user posts a comment and decrease it by 1 when comment is deleted. Is there any way I can use rules to do ...
2
votes
2answers
544 views

How to eMail a file uploaded to a Webform to a sysadmin using the Rules module?

I have a webform where a user can upload a file to the webform. I would like to be able to email the file via Rules to a sysadmin. I know I can send it from Webform directly, but I am also needing to ...
2
votes
3answers
736 views

How do you make entity fields appear in Rules when converting a Webform submission to node?

Steps to reproduce this use case: [Rule event] Submit data on a specific Webform (new submission) [Rule action] Create content node by type [Rule condition] Use 'content is of type' condition [Rule ...
2
votes
1answer
3k views

Rule check if field value changed give always true

I need a rule that checks if the value of a field has been changed by a particular role. I created a rule with event "After updating existing content". I added two conditions : user has role : ...
2
votes
1answer
1k views

How to build an Email Diggest using Rules

I am building a Website using Drupal 7. This website contains events, event-comments and event-registrations (=Registrations module): Event Event Comments Event Registration Now I need to inform ...
2
votes
1answer
253 views

Rules - Set language of message notification

We need to set up a rule that will send an email in the language of the Customer of an order LANGUAGE. But the Message notify action in rules takes the CURRENT user interface language... so that ...
2
votes
2answers
459 views

With a 'review' node type and a node reference to a 'product ' node type limit number of user reviews to one

In a product node type with a review node type that has a reference field to it, how do I only permit one review per user per product node? Do I use the Rules module and if so how do I configure the ...
2
votes
1answer
1k views

How to make the Rules module perform a redirect to an URL that includes a query string?

I have created Task nodes, and I want to redirect to the previous (source) page after creation of a new task. I don't want people to see the task node. That page includes a view of all tasks. For ...
1
vote
1answer
2k views

How to get field values in rules condition from fetched entity

I have a content type "Event" that's linked to a registration type. Inside rules I want to trigger the action only if a field value from the host entity is "Open" (it's a checkbox field). Under ...
1
vote
1answer
138 views

How to display 'Terms and conditions' before starting a download, possibly using Rules?

We have a page displaying various download options. When the user clicks one of the options we would like to display a terms and condition page and then take the user further to the actual download ...
1
vote
1answer
119 views

Set value on newly created node using Rules

This is what I have now: Content type 123 has a Entity Reference field referencing content type XYZ. If new content is created of type XYZ then Rules creates new content of type 123. So by creating 1 ...
1
vote
2answers
1k views

Creating new users with Commerce & Rules: ERROR

Commerce has a problem with the Rule to create a new User account for an anonymous order: ERROR: Missing configuration for parameter param_field_[fieldname] According to a drupalcommerce.org ...
1
vote
2answers
260 views

Easist way to moderate an image via a php GET callback request?

I want to add some code that allows me to use an image moderation service called Webpurify http://www.webpurify.com/image-moderation/documentation/callback/. I can send the url request using a rule (...
1
vote
1answer
514 views

emailing users in user reference field with rules

I am working on a site for an academic conference. Right now, we have two content types (1) proposal and (2) peer review. In the proposal content type, an author can add multiple presenters to a user ...
1
vote
4answers
483 views

What's wrong in my rule for sending e-mails using VBO?

I am trying to send a mail to a set of users when a node is created, so I made a users view including VBO field and a rule for it. You can see the settings below. It's about D7. But when the rule ...
1
vote
3answers
1k views

Hide or show fields based on whether the node is published

I'm looking to show and hide form fields based on the current progress of a node using contributed modules like Workflow, Maestro or rules. For example, I would like to show certain fields if a ...
1
vote
0answers
589 views

When to use Flag's submodule flag_actions instead of Rules Actions?

If you enable the Flag module, but not its submodule flag_actions (with short description "Execute actions on Flag events."), and you navigate to admin/structure/flags, then near the bottom it shows a ...
1
vote
1answer
692 views

When using Rules to set a value on a taxonomy term reference field, I get choices like “field:0”, “field:1”, etc. What do these numbers mean?

When I add a "Set a data value" action for my taxonomy term reference field, Rules allows me to choose from the following: field-age field-age:0 field-age:1 field-age:2 field-age:3 What are these ":...
0
votes
1answer
176 views

How to direct a specific role to a specific page

This is related to this question: How do I redirect a user role on login (Drupal 6)? My biggest problem is that the only rules available as far as I can see are on user login, period, nothing for a ...
0
votes
2answers
518 views

Twitter-like follow button

I'm trying to make a twitter-like "following" system for a content-type I have. Users have an entity reference to the content-type. What I want is a user to go onto the content and click the "follow"...
0
votes
1answer
756 views

How to pass a Flag field's value to a Rules Component triggered by the flag?

Assume a flag (created using the Flag module) which triggers a rule, using Rules Event "When something is flagged" (with this flag). And assume that this flag has 2 fields defined for it also, i.e.: "...
0
votes
2answers
564 views

How do I check a custom field has a value?

I'm using the "Entity is of type" condition for the After updating content event, the rule only fire when the field has a value of that updated/created node. The field, which is part of a custom ...
0
votes
2answers
1k views

Rules - After updating / saving user not working

I'm using Rules module to execute a python script after a user has been created / updated. This python script retrieves information of users from the database and feeds a datapushing / realtime data ...
6
votes
2answers
396 views

Which user does the Rules module execute as?

I've set up a rule which is triggered by "after saving a new user account". This rule simply sends an e-mail. The e-mail contains various tokens, one of them is the field [account:field_country]. I'...
4
votes
3answers
3k views

How to use webform submission data in a Rules Condition?

I want to send an email when a user fills in a webform, but only if it is our review form and if the user gave the feedback higher than a 7. So we are asking how good we are, and the user gives us a ...
4
votes
1answer
682 views

What may be causing “fails the check integrity”?

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 ...
4
votes
1answer
73 views

Why is the database not updated before a next Rule is launched?

I have two Rules (created with the Rules module) that are both launched when an article is flagged with the Flag Approved: Rule 1. Publish the flagged article with the action Publish content. Rule 2. ...
3
votes
2answers
4k views

Triggering the Feed Import module

I have a Drupal 7 website that is intend to be fed by a JSON file. This file, is actually processed and updated by a ETL tool that runs periodically (each 3 hours by example). Once my ETL tool has ...
3
votes
1answer
273 views

How to use Rules to send separate email to every user referenced in user reference field?

I have a node with a user reference field, in which a user can select unlimited users who they have a relationship with. I'd like for the saving of this node to trigger a separate email to be sent (...
3
votes
2answers
510 views

How to add and delete a user to another group using the Group module?

I am using Drupal 7 and the Group module. I would like to create reaction rule or some code which automatically signs the user up to group 'blue', when they sign up to group 'red'. I wouldn't mind ...
3
votes
1answer
371 views

Rewrite id of a exposed filter block?

Hi there I'm trying learn how to rewrite a #id of an exposed filter block (ie. a searchbar filtering a list view. Is there an easy way to do this? Isn't something that is possible to do with rules? ...
3
votes
2answers
2k views

Send mail to email addresses from webform when a content is saved

I want exactly like this Send notification e-mail after new content was added but the answer is not seems to be question specific. I have a webform where I get email id of the anonymous users and I ...
3
votes
1answer
226 views

Combining AND and OR in Rules

I'm trying to set up a rule (using the Rules module) with AND and OR conditions. I have a content type with a field A (date) and field B (time slot). The rule needs to check if field A is either e.g. ...
3
votes
1answer
182 views

How to set a new taxonomy term without overwriting an existing one when using Rules?

I'm using the Rules Action Set Data Value to set a taxonomy term for a specific user (uid= 75). The tag field exists in the user entity, and is set to "Unlimited". There's nothing complicated about ...
3
votes
1answer
330 views

How to create a rule to assign roles to users based on some checkbox items in their profile?

I am pretty new to Drupal. I am using Profile2 so that the user can select there own user role. So say I have a profile page with some checkbox items like Automotive Computer Garden etc How would I ...
3
votes
1answer
259 views

How can I make a view that shows users all the who have flagged a single user?

Background I want to add a tab to the user profile that shows the logged in user which other users have viewed his/her profile. I want to control this list in Views. Until recently, I have been ...
3
votes
2answers
148 views

How to prevent edit or delete of some content by its author depending on an approval status field?

Here is a screenprint to illustrate part of my current implementation: This is what I want to achieve: If the value of 'Admin Status' is not "Approved", then the author can still edit or delete his/...
3
votes
2answers
394 views

How to send mail for every X months using rules?

In my user profile there is date of orientation(date field) from date(current date) and end date. When user fills the date field, it should generate an Mail for every X months. ...
3
votes
1answer
331 views

How to troubleshoot Rules when a required variable for an event is not provided?

I'm seeing a strange behavior on my site and I'm trying to figure out how to correct it. I have a rule that triggers on the event After updating an existing user account. This rule uses two ...
3
votes
3answers
835 views

Voting a post several times by same user

I have a case where authenticated users can Vote a content many times. I want a button at the top of the Node saying Vote This and when the users click the button it'll ask for confirmation Do you ...
3
votes
2answers
672 views

How to add product details to Drupal Commerce order confirmation email

Default email that is sent when user completes the checkout process contains order number and other details. I want to include additional product details and product type in this email. How can I do ...
2
votes
1answer
805 views

How to limit number of nodes a user can create per day?

In order to curb ardent spammers in Drupal 6, I'd like to limit the number of forum nodes that an authenticated user can create per day. So for example ordinary users can not create more than 3 posts ...
2
votes
2answers
131 views

How to apply flags retrospectively for group subscriptions using Organic Groups?

We've a large site running Drupal 7 with OG, Flag, Rules, etc. OG uses a subscription model where you have to confirm you want to join a group (or leave a group) so we've decided to move to a Flag ...
2
votes
1answer
313 views

How to resolve the Ajax error when trying to add a VBO Action to a Rule?

We've a large site running Drupal 7 with OG, Flag, Rules, etc. OG uses a subscription model where you have to confirm you want to join a group (or leave a group) so we've decided to move to a Flag ...
2
votes
3answers
154 views

How to change user info with a rule when Points are granted to user (using userpoints module)?

I need to create a rule to change info of a user when this user is granted with points using the http://drupal.org/project/userpoints module. I need the rule to have a condition and action like: if ...
2
votes
1answer
2k views

How do I set up a shipping condition that accesses the value of a specific field in product?

I have a term reference field in product called "Weight" with values "Light", "Medium" & "heavy". I am using flat rate shipping service and trying to check the value of "Weight" field in ...