Channel field was showing "phone" for both incidents created from portal and mobile.

Ak8977
Tera Expert

Channel field was showing "phone" for both incidents created from portal and mobile. How could I differentiate whether the incident is created from portal or from mobile

3 REPLIES 3

varaprasad123
Kilo Guru

If you are using "Create a new Incident" on portal, this is a record producer that you need to check and update the producer script with an option as a "portal" for Channel field. 

Hello, there are lot of forms for this, I can't update all the forms.
thanks,

Maik Skoddow
Tera Patron
Tera Patron

Hi @Ak8977 

if you follow the proposed way with changing the record producer you have some work because OOTB portal widgets have to be cloned, and then cloned and modified widget has to be incorporated into the existing page, a.s.o.

And also this makes no sense if you are using the same record producer on both sides.

 

But there is also an approach with a new simple Business Rule: The challenge is to find out where the request came from (Service Portal, Classic UI or even any Workspace). For this purpose you can examine the current request URL via:

GlideTransaction.get().getRequest().getRequestURL()

 

Based on the returned result, you can decide how to proceed.

 

Maik