I'm using Webform Rules and Profile2.

I need to be able to use account:custom_field:value to load a certain webform_submission by SID. It's impossible as is to do this, as none of those tokens are listed or valid in the Rules actions. This could be an issue with how webform_submissions 'report' themselves to Rules or as an entity on their own, so I've posted here as well as the original post in webform_rules (https://www.drupal.org/node/2538734).

Goal:

- [Trigger] After saving new user account
- [Condition] Field has value: "WID" custom text field on the user account profile (NOT Profile2)
- [Action] Fetch entity by ID: Fetch webform_submission type where NID = 3769 (constant) and submission = account:wid_custom_field:value
- [Action] Delete entity: Delete fetched entity from action above

Any suggestions?

Comments

amaisano created an issue. See original summary.

amaisano’s picture

Issue summary: View changes
danchadwick’s picture

Status: Active » Closed (duplicate)

Let's not cross-post. Seems like an issue for webform_rules.