Requested_for is showing incorrect value on RITM

robinpaul
Kilo Contributor

Hi All!

I have this issue when users submit requests for multiple people at once by using 'add to cart' button, which does not work properly.

For example, I need to submit " Software Request access"catalog item request for 10 different people. In this case, I would select catalog item variables for 1st user, then press 'add to cart' which would add my desired item to my cart. I would then stay on the same form and change variable for access to 2nd user, 'add to cart', then 3rd user, 'add to cart', etc. Once I select last user I would 'order now' all 10 access requests at once. So far everything is working well. When I order 10 items, this actually gets logged as one request (REQ) and 10 different requested items (RITM's).

However (here is the issue), since REQ supports only single 'requested_for', all RITM's requested for' gets copied over with the last selected user's name. Therefore, all 10 items end up being submitted for one same person rather than 10 different users.

Did anyone experience the same kind of issue? What did you do to solve this? Did anyone create anything for allowing users to submit multiple requests for multiple users at once?

Any help would be appreciated.Thanks in advance

5 REPLIES 5

JimmieOdelius
Tera Expert

Hi Robin.



I haven't experienced an issue like that. One workaround for the time being would be to catch the requested for in a variable and then have a script in the associated workflow that sets the variable into the requested_for field.


Unless you'd get a good response here I'd take it up with ServiceNow at the hi-portal.


Sai Anna
ServiceNow Employee
ServiceNow Employee

Hi,


Requested For field is on Request table, so for a single request, you can have only one Requested For which will pass to RITM. One solution I can propose is having separate new field created on RITM (u_requestor) and populate this field in the workflow of particular catalog item(which takes value from variable). by this, you can have multiple requestors on different RITM's for the same request




Thanks,


Sai



Hit like, Helpful or Correct depending on the impact of the response


In REQ form, you need to change Requested_for field for each RITM so that it will get captured in the corresponding RITMs.



Hit like / Helpful if it helps


Hi sai,                                                                                                                                   Sorry for the delayed response.   Is there any other option without creating the custom field(u_requested_for)   on RITM to acheive this requirement.
If i create the custom field on RITM,2 requested for fields on RITM, it may some confuse to the user



Any help would be appreciated. Thanks in advance.