Is there a way to view URL parameters in Business Rules

agarwm
Kilo Contributor

Hi,

Recently, I came across an object "RP" that can be used in jelly code and can be used to access URL parameters.
It got me thinking whether is there an object or method that enables us to access URL parameters using Business Rules also ?
Cannot find anythign on wiki. Can anyone please help me 🙂

Regards,
Mayank

1 REPLY 1

Inactive_Use309
Mega Expert

Business Rules do not always run as a result of an interactive session, they are triggered on a read, write, (etc) at the data level, so thinks like scheduled scripts and reports can trigger BRs. Trying to depend on URL parameters for a BR is a bad idea, in my opinion

So, the quick answer is no, the URL info is not available to the BR, but if you must ...you would need to capture them at the client script level, and then pass them to the BR (probably through extra record variables). In theory, anyway.