How do I get the referring URL within a Business Rule?

rushputin
Mega Expert

I can't find the answer to this, and I'm pretty sure it's because it's such a dumb question.

I've got a Record Producer, and in the script that handles it, I'd like to have it redirect to one place if we're working with a CMS site, and a different place if we're not (like the core application).

I figure this should be pretty easy: just look at your URL, and if it contains "ESS" or whatever setRedirect() to A, and if it doesn't setRedirect() to B.   The problem is... I can't figure out how to get that full referring URL.

5 REPLIES 5

Randall Arnold
Giga Expert

this was a lifesaver, thanks!