RITM using same "requested for" in all item that was ordered under same request

Sneha Anil2
Tera Contributor

Hi Experts,

I have multiple RITM which is  under same  one request, but for all the RITM's requested for is setting Requested for that I select while checkout. we want to set separate requested for value for each RITM based on the user variable in RITM.

can anyone let me know any suggestion or solution for this issue.

Thankyou.

4 REPLIES 4

shloke04
Kilo Patron

Hi @Sneha Anil2 ,

 

That's expected behavior.

Since the "Requested For" field on the RITM is a dot walked field from the parent Request(sc_request), It carries Requested for value from parent Request(sc_request).
For ex: If "Requested for" value on the parent Request is User A, Then "Requested for" on all the RITMs will also display as User A.

 

Resolution:

1. Customers can create a new custom field(u_requested_for) on the RITM.
2. Through the workflow, They can display variable(requested_for) value into u_requested_for.
For ex: current.u_requested_for = current.variables.requested_for

 

Please refer the below HI article for reference on above points where I have taken this from.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0860213

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sneha Anil2 

 

There is nothing to worry, as it is by design and expected behaviour. If you have more then 1 RITM in one REQ , then the all RITM will have same REQ. Its like order number number one but you ordered multiple items under that.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

SunilKumar_P
Giga Sage

Hi @Sneha Anil2When multiple Requested Item (RITMs) are linked to a single Request (REQ), and they all share the same user due to dot-walking (sc_request.requested_for), it's an expected scenario.

 

Regards,
Sunil

Aman Kumar S
Kilo Patron

Hi @Sneha Anil2 

There is a field Requested for present both on Request table as well as Requested item item table and that is OOB.

You can perhaps go check it out, now you can check which Requested for is added on your RITM form, and you can do that by right clicking on the label and check the name, it will be one of the two.

req_requested_For.PNGsc_requested_For.PNG

 

You can simply add script a script in your worflow/flow designer to set the requested for value and use the Requested for from RITM table instead of Request table so it can show different users for each RITM.

 

Best Regards
Aman Kumar