3

Rules module: how to pass values ?

http://drupal.org

I want to use Rules to automate generation of a set of nodes and do some other tasks.

A have a rule set "Mono" with two arguments: a number (my_number) and a user. Now I want to call this rule set from another rule set "Multi" where I have defined a variable counter (accessible as $counter in php).

What do I have to enter in the Number field under the arguments when defining the action that executes the Mono set when I want to use a variable counter in stead of a fixed value?

I tried [counter],

<?php
echo $counter
?>

and all kinds of similar forms etc. but nothing appears to work.

When I fill in a simple numeric value, the value is passed correctly and applied OK in the Mono set.

I tried to find some help in the Rules tutorials, but did not find a corresponding subject.

thanks
Fred

Read »
Created by fourkitchens 2 years 40 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Rules module: how to pass values ?

Recent comments