I have multiple rules that conflict with one another. The rules are set up like this

Event
After updating an existing user account

Conditions
Data comparison
Parameter: Data to compare: account:profile-personal-information, Data value: account:profile-personal-information

Action
Page redirect
user/[account:uid]/edit/financial_assets

Then I have another rule set up like this...

Event
After updating an existing user account

Conditions
Data comparison
Parameter: Data to compare: account:profile-financial-assets, Data value: account:profile-financial-assets

Action
Page redirect
user/[account:uid]/edit/business_interests

And what I'd like these rules to do is this.

But before I explain that let me tell you a little backstory to the site. Only admins can create and edit users. There are several profile types within the site that I built using the profile2 module. Each profile type has it's own page for editing. This is what I'd like the rules to do.

When an admin edits a users profile, say the personal info section and they hit save - I'd like them to get forwarded to the financial assets profile editing section for the user that they're editing. Then when the admin is on the edit page for the financial assets profile section and they hit save, I'd like them to get forwarded to the business interests profile edit page.

The rules seem to conflict with each other. I tried changing weights but that didn't matter. If I only have 1 rule active it behaves how it should. But when I enable both of them and hit save on any of the profile type pages, only one redirect occurs, say the business interests redirect occurs when I hit save on the personal info profile.

If you need anything else explained let me know but I've been stumped on this for about 2 weeks. I've tried so many different variations within rules but nothing seems to work for me.

Any help would be greatly appreciated, thank you in advance.

Comments

fineartist99’s picture

Priority: Major » Critical

Why do my multiple rules not work???

RavindraSingh’s picture

There is a possibility on configuration, if possible please share URL and admin creds on msg. I can try to help you.

fineartist99’s picture

I'm sorry, I had to hire a developer to create a custom module for a multi step registration form. Thank you though for reaching out.

fineartist99’s picture

Priority: Critical » Normal
TR’s picture

Category: Bug report » Support request
Status: Active » Closed (outdated)
Issue tags: -#rules

Rules would not be my choice for a way to implement a multi-page form wizard. But if you are going to use Rules, you need to use conditions that are unique to each page. As far as I can tell, your conditions will be true on every page. Perhaps you should instead check the path and redirect to the next path. Or use multiple conditions, a == true AND b ! == true, or something along those lines.

#3 indicates that the original poster no longer needs help with this issue.