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 run business rule when service catalog item request from display to request item?

vimal11592
Tera Expert

Hi,

I have created one form that need to be filled when someone request catalog item.I have created this form using variables.

Please find the following image for reference.

Selection_003.png

I want to run business rule to run when this from display to the user in order to raise request for the item.

I don't know on which table I need to write business rule to run.

Can someone please help me out with the issue.

Thanks

Vimal Mishra

6 REPLIES 6

Hi ramsakamuri gurpreet



Thanks!!




I will try to do that.I have one more doubt can we call third party application in client script.



What I am planning to is as following.



on onLoad of form -- run any script(Business rule or client script) to call third part application to get Data   ---Store Data in table ---> Get the data from table and populate those fields.



Thanks,


Vimal Mishra


Gurpreet07
Mega Sage

Hi Vimal,



If your requirement is to populate variables onLoad of a form and that data needs to be derived from another table , you need GlideAjax.


GlideAjax - ServiceNow Wiki


Basically you need to call a script include from onload client script and fetch values from server side.