Trying to learn rules but a simple one is not working!

Hi!

You’re currently using log.error() in your BeanShell script, which writes messages to the server logs (like catalina.out if you’re using Tomcat). That’s why you’re seeing a blank screen—it’s not designed to display output in the UI.

To show output on the screen:

Use a return statement instead:

return firstname;

Best Resource to Learn BeanShell and Rules:

https://community.sailpoint.com/t5/Technical-White-Papers/BeanShell-Developer-s-Guide-for-IdentityIQ/ta-p/74365

1 Like