I just started to look into Drupal a couple of days ago, and all though I already have discovered some of the powerful capabilities in Drupal, I'm a bit confused.
I'm trying to do the following using Webforms, Rules, Rules Forms and Webform Rules:
1. Create a rule that triggers when webform X is submitted. Action: Triggers the ruleset described in 2.
2. Create a ruleset that evaluates the submission of webform X. One rule for each option in the submission. Action: Triggers the scheduling of an actionset described in 3.
3. Create several actionsets (it is called that even though it just contains 1 action) that just sends an email.
So, depending on the results in webform X i want to send different emails at different times.
The problem is that I'm not able to pass the arguments needed from step 1. to step 2. above. I have no idea how I can get access to the elements of the submission, so that they can be evaluated in the 2. ruleset. No matter what I write as variables as input for the ruleset, I'm not able to get the data from the form so that I can evaluate it.
I am able to do this if I just skip the 2. step above, ie:
A. Create a rule that triggers when webform X is submitted. Action: Triggers the scheduling of an actionset described in 2.
B. Create several actionsets that just sends an email.