Hi bit of a newbie, I will try to explain this as best i can
I have a Webform displayed as a block on a content node.
Using Webform Rules i would like to unpublish the content node on the submission of the Webform and send an email to the node author.
I have an unpublishing component that i am using with another rule to schedule an unpublish event but when i try to use it with the Webform Rules module it unpublishes the webform itself and the email tokens in the email are all related to the webform
So i think what i am asking is how do I pass the correct node:id and author:id to the component
Rule is set up like this:
Event - After a webform has been submitted
Condition - Webform has name
Parameter: The form id of the submitted form: [node:nid], Webforms: Contact Seller
Action - rule set: Unpublish Content
Parameter: Content to unpublish : [node], User: [user]
Component has 2 parts set up like this:
Conditions - Content is published
Parameter: Content: [content-to-unpublish]
Actions - Unpublish content
Parameter: Content: [content-to-unpublish]
Conditions - None
Actions - Send Mail
Thanks
Scott
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Rule Export.txt | 2.08 KB | scareyclott |
Comments
Comment #2
scareyclott commentedComment #3
scareyclott commented