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

Rambabu Sakamur
Tera Contributor

Hi,



Slightly confused what do you want exactly, But please find the below service catalog tables for your reference.



REQ: sc_request-------------Request


RITM table name: sc_req_item ---------Request Item


Catalog task table name : sc_task -------Catalog Task


Hi,



Thanks for the reply.



I wan to run business rule when above form display to the user.This form is to fill the entry and place order.



Service Catalog -- > Categories --> Maintain Item --> fill form to place order.



So i want to on which table I need to run the business rule when this form displays to the user.



Thanks


Vimal


Gurpreet07
Mega Sage

Hi Vimal,



Can you please further explain your requirement.


If you want to execute some logic onLoad of a catalog item, Use onLoad Client scripts.


Creating a Catalog Client Script - ServiceNow Wiki


Rambabu Sakamur
Tera Contributor

Hi,



why only BS rule, As my understanding you can use Onload client script as@ Gurpreet Singhgurpreet.



I hope you can run dis client script on sc_req_item table