Template on Service Catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:06 AM
Hi everyone,
From trial and error it seems that if you link a template to a service catalog item it only uses it if the item type is record producer.
We would really like to preset some values using a template but do not want to use a record producer.
So my question is:
1. Is that correct (that template only used on a record producer)?
2. If so, does anyone have any tips on preseting values?
Thanks in advance, Ruth
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2008 04:35 AM
Hi Ruth,
I'm looking at doing the same thing, and the only other way I can see to do it is to set every field as a hidden variable for the item and set the default tot he value you want. I don't think this is the best way of doing things, so I was considering using templates. I'll be interested to see the responses you get..
Jenny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2008 11:29 AM
Where are you trying set default values?
On the item order variables, request, requested item, or in the sc_task record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 12:14 AM
Hi John,
On the request
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 07:25 AM
Build the request template you want.
Create a business rule to apply the template.
//business rule: Apply Request Template
//table: sc_request
//run at: server
//when: before (insert)
//condition: define the requests that you want to apply the template to
//script:
current.applyTemplate('my_req_template');