Populate Contact type as "Self-service" on REQ, RITM, SCTASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 11:35 PM
Hi Folks,
I am working on a scenario to Populate "Contact type" field as "Self-service" on REQ, RITM, SCTASK"
Objective : If a user submits a request from service portal then "contact type" on REQ, RITM, SCTASK so be updated as Self-service.
Note: Contact type is a dropdown field.
Thank you in advance,
Regards,
Midilesh.N

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 11:38 PM
Hey,
Refer to below article in the community:
populate Requested for on RITM form
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 12:01 AM
Hi,
So where are you stuck?
You must be having workflow on your catalog item; use workflow run script to set the RITM/REQ field
Contact type is created on which table?
I would suggest to create on Request table and show that as dot walked field on RITM and SC_Task table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 12:10 AM
Hi Ankur,
If it is for a single catalog I would have gone for Workflow, but there are 250 catalogs.
I am trying to auto populate contact type field with Self-service on "Request table " if that request was submitted from Service portal.
note: "contact type" is a default field which is on "REQ" "RITM" SCTASK".
can you elaborate bit more
Thank you in advance,
Midilesh.N
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 01:09 AM
Hi,
then in before insert business rule of sc_request you will have to determine if the REQ got generated from portal or native view
based on that you can directly set the value for Contact type
check these links
Determine if a requested item submitted from the Service Portal or the native service catalogue UI
Service Portal: Is there a way to know if a Request is submitted from the Portal and not CMS?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader