The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Requested for not populating correctly on Request and RITM while submitting the service request from cart.

Shivam21
Tera Contributor

Hi All,

I have field "requested_for" on catalog item while creating request separately the "requested_for" field on Request and RITM is populating correctly but if I order two items from the "cart" where one has "requested_for" filled and other didnot have "requested_for" filled then both Item takes the "requested_for" field from the catalog which has "requested_for" filed,     *Note:  if "requested_for" is not filled in a service request then it should take the user who has created the request. 

please find the below attachment:

 

1."requested_for" field in catalog itemfind_real_file.png

2. two item in cart, "one having (Request one behalf of is-- Yes) while other has (Request one behalf of is-- NO)".

find_real_file.png

3. Business rule which I am using to populate the "requested_for"

find_real_file.png

 

*Ideally one "requested_for" should contain value of opened by, while other "requested_for" should contain "requested_for" value from service catalog.

Please help me solve this.

Thanks Shivam.

6 REPLIES 6

Hi Shivam,

So are you saying BR is not working when you are adding multiple items to cart?

Please add logs to BR to check whether it triggers or not

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Archana Natara1
Kilo Guru

Hi All,

 

If requested for field is required as variable for a catalog item and wants to keep the field Requested for updated for both the tables RITM and Request based on user selection for variable. Try this OOTB way of doing instead

 

Create the requested for variable of Type Requested for as shown in pic below, 

 

ArchanaNatara1_0-1668750967701.png