Reload form using Business rule

Vaishnavi20
Tera Expert

Hello All,

 

I am facing one issue we have one onLoad client script and from that we are populating one field. So after the record is created through inbound action I have to run after business rule, but in that BR we are not getting that field's value which populating from the Client script. I have tried the async BR still it is not working. Is there any way to reload that case through business rule? or reload the for without opening?

 

Thank You in advance!

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Vaishnavi20 

client script runs on client side and BR runs on server side.

if user saves/submits the form the field value will be saved.

what's your use-case? please explain with screenshots and scripts.

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

@Ankur Bawiskar 

I have below field on Case table which is populated from onload client script. I want to use that field value in business rule to be send emails etc. but once that field the value from blank I don't want run that Br again.

 

Vaishnavi20_0-1691653892834.png

 

@Vaishnavi20 

so if field populated on load then is user not saving/inserting the record?
if yes then Business rule can directly get that field value using current.fieldName

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

Peter Bodelier
Giga Sage

Why don't you just use a Business Rule instead of a client script to fill the field?

You can use condition Order / Consignment Number is empty, to make sure it doesn't run twice.

If that is not what you are looking for, please explain your use case in more detail.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.