I'm using Drupal 7 and the Drupal Commerce module. I'm now able to capture an argument passed by URL using Rules (thanks to this helpful thread). However, I'd now like to be able to redirect the user to one page if the argument equals one thing and send them to a different page if it equals ANYTHING else. Anyone know how to do that?
I tried using 'Page Redirect' as an action in Rules, after the action of capturing the argument in the URL (Action > Provide URL argument value), but there's no option in the Page Redirect action to send users somewhere based on the argument value.
So for example, I have users coming to the site with urls like so:
Currently Rules is recognizing that they are using that URL and it's reading 'promo1' value using
[ID:value] replacement pattern...I can print it out to the screen so I know it's reading it.
But I don't know how to then use that value to inform a page redirect for example.