Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Pulling variable information via a template and displaying on a ticket

germc
Giga Expert

Hi folks,

I have created a new Service Catalog item called 'HR - Recruitment Requisition Form' (maintain items)

I have it workflowed to create a HR ticket and embed the variables of the catalog form into the ticket.

Is there a way to pull the info from a field on the form and set it as the short description?

I have set up a template called 'HR Recruitment Requisition Form' and been able to set the caller id on the ticket by adding 'javascript:gs.getUserID();' to the 'Caller ID' field on the template.

Is there a similar way to add such a script to the short description field. for example we would like to add the field info from the variable 'position_title' on the service cat form and onto the short description of the ticket.

I have attached a printscreen of the template set up. is there a way to add a script in here?

1 ACCEPTED SOLUTION

if position_title is the name of the variable on the record producer, try



current.short_description = producer.position_title;



in the script area of the record producer.


View solution in original post

5 REPLIES 5

germc
Giga Expert

Much appreciated, that worked a treat. Thanks a million