Data from one catalog to another

swapnil15
Tera Contributor

Hi All,

I need help with the following task-

 

CASE: A catalog 'joiner request' is used by HR to fill in the details of the new user. Once they submit the form, a new RITM is created and a notification is sent to the service desk team. The notification contains a mail script (which fetches data from the catalog) and a URL/link (application and access requirement). Whenever the mail is received by the service desk team, they click on the URL and that takes them to a new catalog 'New Joiner Line Manager Instructions' which again has a variable called 'name'.

 

Ask: To get the name from catalog 'joiner request' to the catalog 'New Joiner Line Manager Instructions'.

 

Summarize: To auto-populate the name of the newly created user on the catalog 'New Joiner Line Manager Instructions' once the service desk team clicks on the link in the mail notification, trigger by catalog 'joiner request'.

 

PFA of catalog1 (new joiner), mail format, notification, mail script, and catalog2 (New Joiner Line Manager Instructions).

 

Can you share your views on this MVP's

@Ankur Bawiskar  @Allen Andreas @Elijah Aromola @Kieran Anson @Steven Bell 

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@swapnil15 

what you can do is in the email script of 1st RITM email include the name in the URL which you are using for redirection

then write onLoad catalog client script on other catalog to get value from url and populate

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Priyanka_786
Tera Guru
Tera Guru

@swapnil15 :

 

You need to first pass employee name in URL (application and access requirement)) which redirects manager instruction catalog in email script and then get that from URL in onload client script for manager instruction catalog and set it.

For scripting and approach refer, catalog section of this blog

https://www.servicenow.com/community/developer-blog/3-ways-to-populate-values-in-servicenow-via-the-...

 

Kindly mark helpful/accepted if helps you in any way.

 

Regards,

Priyanka Salunke