Best way to request a catalog item for someone else in portal?

Chris Sanford1
Kilo Guru

We have a requirement that users are able to request a catalog item on someone else's behalf. The particular challenges we have are that it has to work on service portal, and we are using domain separation so the domain of the REQ, RITMs, and TASKs all need to be set based on the domain of who the item was requested for.

I have seen the following thread:

https://community.servicenow.com/community?id=community_question&sys_id=84e34fa5dbd8dbc01dcaf3231f96...

However, their solutions do not meet my requirements, as they are not portal compatible to my knowledge. Any thoughts on the best way to do this?

1 ACCEPTED SOLUTION

Async is required, because there is a delay between request and requested item. So Async will give time for both to be created. You can add the conditions back, if you have right condition. So the condition in your previous screenshot looks good to me.

This will not impact the upgrade. Because it is a custom script and I don't think you are doing anything wrong, as long as you are not adding a wrong company and wrong assignments who are not part of that domain.


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

11 REPLIES 11

ashh908
Kilo Guru

Hi chris,

Map the variable requested for other to “requested for” in request tablle as done in screen shot

I am already doing this actually, but my concern was the RITMs and TASKs as well as the domain separation.