Help setting request short description

Gemma4
Mega Sage

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

21 REPLIES 21

Ravi Chandra_K
Kilo Patron
Kilo Patron

Try  gr.variables[request_name] 

Please mark the answer as correct solution and helpful if helped.

 

Kind Regards,

Ravi 

sushantmalsure
Mega Sage
Mega Sage

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)?

 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hi @Ravi Chandra_K 

Actually I was trying to set the request and request item short description. Is it possible to set in one business rule?

on which table this BR is created 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure