want to update the request short description before
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 07:26 PM
Hi All,
Having a requirement that need to update the request short description before triggering the email to the requestor. why because here once the request is created it will trigger the email to the requestor with the request short description.
we want to update the short description of the request with the static additional info.
we want to try with the before business rule.
need suggestions to achieve it.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 07:44 PM - edited 02-11-2024 07:53 PM
Hello @Community Alums,
instead of Before Business rule, u can try with Flow Designer, It is better to use flow designer for the catalog items.
If you still want to update this with before business rule, Please look at below screen shots
You can select your catalog item at the filter condition section in When to Run tab. Then this business rule runs only for that catalog item only.
Please mark my answer helpful & correct, if it helps you
Thank you
Thank you
G Ramana Murthy
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 08:23 PM
Thanks for the prompt response.
Tried to update the request short description through flow but it will not work.
we are trying to insert the new record in the core_company table through one catalog form.
so one the catalog form is submitted we need to update the short description of the request
Before creating a record we need to update the request short description like
New Supplier - 'and the name which are giving in the catalog form'.
Any suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 08:08 PM
Hi @Community Alums
You can create before/insert business rule and in the script section, you can use the following code-
var newShortDesc = current.short_description + ' - Additional Info'; // Adjust the additional info as needed
current.short_description = newShortDesc;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 08:20 PM
Hi @Amit Pandey
Thanks for your prompt response.
We can use the before/insert business rule. but here the requirement is.
we are trying to insert the new record in the core_company table through one catalog form.
so one the catalog form is submitted we need to update the short description of the request with the Naming like
New Supplier - 'and the name which are giving in the catalog form'.
Need suggestions to achieve this.