Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to get a Business Rule to trigger on the portal

Amy13
Tera Contributor

I wrote this business rule that triggers on display when an HR task opens (state = Ready). The info message is shown in the back end; however, when I go into the same task in the HR portal, it doesn't trigger. Do I need to put this in the portal script?

find_real_file.png

8 REPLIES 8

dmathur09
Kilo Sage

Hi Amy,

Can you check the logs and if they are generated when you open the record in portal?

Regards,

Deepankar Mathur

Amy13
Tera Contributor

How do I do that?

Hi Amy,

Add a new line as gs.info('I am in the business rule'); Recreate the scenario in portal. Then come to native UI. Type in logs in the filter navigator and search for this message.

Regards,

Deepankar Mathur

Amy13
Tera Contributor

I also wrote a client script that is working in the back end. I just want it to work in the Portal when a user opens a task.

find_real_file.png