Help setting request short description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 11:36 AM
Hi everyone,
I have a requirement to set the order guide request short description to include the variable answer of request_name. Currently the short description is showing the catalog item name instead. Attached is the code of the br I am using.
thanks in advance for any insight you can provide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 11:51 AM
Try gr.variables[request_name]
Please mark the answer as correct solution and helpful if helped.
Kind Regards,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:10 PM
Hi @Gemma4
First thing I noticed is condition of BR which should be
current.cat_item.name == 'Project Management Request'
I think because of this your BR is not getting executed.
After reading the rest of the code, you are trying to set short description of RITM, can you tell me on which table this before BR is created and which table's short description you are trying to update (sc_request or sc_req_item)?
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:15 PM
Actually I was trying to set the request and request item short description. Is it possible to set in one business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:17 PM
on which table this BR is created
Regards,Sushant Malsure