Service Catalog Request 'Requested for' field

germc
Giga Expert

Hi guys,

We are building our Service Catalog but when we submit the request, the 'Requested for' field on the Request defaults to the persons name who logged the request.

This seems to be set when we go into the dictionary for the 'Requested for' field whereby the default value us set to 'javascript:gs.getUserID()'

However, the person that logs the ticket wont necessarily be the person that the request is for so i have created variables on the pages which are entitled 'Requested on behalf of'. I have given them the name 'requested_behalf' and would like to link these variables on the catalog item to the 'Requested For' field on the Request.

I tried to change the default value of the field to be 'javascript:gs.getrequested_behalf()' but that does not work.

Is there a way these can be linked?

Thanks


1 ACCEPTED SOLUTION

we don't include the approving manager on the request it is in the variable pool though for the item <since it is in the variable set>


for requested for we have a default value of "javascript:gs.getUserID();"



this way it defaults to the customer but they can change it.. we are still on berlin.. so there may well be a better way in calgary.



we did have to create a request level approval workflow to send the approval to the approving manager



we also created a script to set managers approval required on items.. so items that need no approval that is set to no and the approval workflow will skip that approval then...


View solution in original post

11 REPLIES 11

we don't include the approving manager on the request it is in the variable pool though for the item <since it is in the variable set>


for requested for we have a default value of "javascript:gs.getUserID();"



this way it defaults to the customer but they can change it.. we are still on berlin.. so there may well be a better way in calgary.



we did have to create a request level approval workflow to send the approval to the approving manager



we also created a script to set managers approval required on items.. so items that need no approval that is set to no and the approval workflow will skip that approval then...


Thanks a million for all your help.


This has been very helpful


NeilH2
Giga Guru

Under the service catalog add content option there is a "Request for" box.


Add this to the portal screen and it allows a user to request a catalog item for someone else.


It also retains the setting as you switch between items.




requets for.JPG


Thank you, this is great.


However, when I add the field to the page it displays without the 'Request for' heading.


It shows as below.


Is there a way to have it display as you have shown above?


Thanks a million



requestfor.PNG


Hi Gerad



The screenshot i grabbed is from the demo site, depending on your config you might be able to add it in the system UI messages.


Neil