Populate Contact type as "Self-service" on REQ, RITM, SCTASK

Midilesh
Tera Contributor

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.

find_real_file.png

 

@Jaspal Singh @Ankur Bawiskar   @Pradeep Sharma  Please share your thoughts in this 

 

Thank you in advance,

 

Regards,

Midilesh.N

 

4 REPLIES 4

Aman Kumar S
Kilo Patron

Hey,

Refer to below article in the community:

populate Requested for on RITM form

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

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

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

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 

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

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