How to get request field number which is in RITM form which is a ref field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 06:15 AM
Hi All ,
I have written a business rule on sc_req_item table
I need to get the request number which is on RITM form . I am getting blank value currently
I have tried below
var REQNumber = current.getDisplayValue('number');
var REQNumber = current.request.getDisplayValue('number');
var REQNumber = current.request.getDisplay('number');
Please let me know in code how to get the request number which is in RITM form
Thanks in advance ,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 06:24 AM
@Prashanth Ranga - is it a before insert business rule? If yes, please change to after business rule and check again.
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 06:38 AM
Hi Karan ,
I have used after insert BR
Thanks in Advance
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 06:44 AM
@Prashanth Ranga - please try with the below line
var REQNumber = current.request.getDisplayValue();
If my answer has helped with your question,please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2023 06:56 AM
Hi karan ,
I have tried , still the same result - blank
any other way , please suggest
Thanks in advance
Prashanth