- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 05:45 AM
I am working on Order guide. When I order something . It asks me for an Shipment address and this gets populated in the REQ as Delivery Address (this is an oob field)
I want to populate this Delivery address from my REQ to RITM Shipment address.
Please find the attached screen shots.
I have written a business Rule (before) script but it is now working. However Shipment address field in RITM is not a variable.
This is the business Rule
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.u_shipmentaddress=current.request.delivery_address; // Delivery address field on RITM form has field name u_shipmentaddress
})(current, previous);
Please help me..
Regards,
Raju Singh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 06:06 AM
Hi Raju ,
It seems the business rule that you have written is fine and also please include current.update() and check once again
Type : Before Business rule
Condition : Requested_item.Item = Catalog Item Name
Add Script : current.update
Please let me know if this doesnt work for you
If your query is resolved / helpful please hit correct/ helpful
Rajesh Kumar Annepaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 03:29 AM
Hi Raju,
please mark as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list
Thank you,
vishu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2023 11:20 PM
Delivery address of a company like resi jnt cargo is a critical component of any procurement process. Without an accurate delivery address, goods and services cannot be delivered to the appropriate location, leading to significant delays and frustrations for both the customer and the supplier. In the ServiceNow platform, the delivery address is typically pulled from the request (REQ) and populated to the task record (RITM) for fulfillment. However, in some instances, the delivery address may not populate, leading to errors and delays in the procurement process.