Reload form using Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 11:57 PM - edited 08-09-2023 11:58 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 11:59 PM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 12:55 AM - edited 08-10-2023 12:55 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 01:29 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 01:05 AM
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.