Hi ppl, How to call a ui page form business rule??

Sachin65
Tera Expert

i'm new to servicenow pls suggest me, How to call a ui page form business rule??

And How to call a ui page formclient script??

5 REPLIES 5

Deepak Negi
Mega Sage
Mega Sage

Hi



I dont see any benefit in calling a UI page in a business rule, because all BRs works server side and UI page operates at client.


So I would suggest you to call a UI page from cleint script.



Steps to Casl a UI Page from client script



1. Create a UI page "abc" and put your content in the same


2. Call it via below script:



var gdw = new GlideDialogWindow('abc'); 
gdw.setTitle('Test');
gdw.setSize(750,300);
gdw.setPreference('title', 'A New Title');
gdw.render();



Mark correct/helpful if it helps in solving your query



Thanks


Deepak


but i need to autopopulate data from survey ui page to custom table.and the requirement use after insert BR to achieve this

Kalaiarasan Pus
Giga Sage

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sachin,

What is the requirement of opening the UI page from business rule?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader