How we can dynamically change current domain based on caller's domain on a new incident?

gee
Tera Guru

Hi Team,

In a domain separated instance, how we can dynamically change current domain based on caller's domain on a new incident?

There are issues when creating a new incident   by an agent who belongs to multiple domains, relating to reference data such as priority, impact, urgency etc. Each domain may have different choice list for reference data. These reference data will be selected based on the agent's current domain and not based on caller's domain.

I think to resolve this issue, it is to select the right domain based on the caller for new incident creation.

Is there any sample script or any suggestion to implement this solution?

Your valuable suggestions and helps are most appreciated.

Thanks & Regards,

Gee

7 REPLIES 7

abdul_qulatein
Giga Expert

Hi Gee, did you get anywhere with this?



I am trying to achieve the same thing. But I want to use a business rule.


Hi Abdul,


I have test scripts for setting the domain, see attached. You may modify/test this in any test environment / PDI.


Hope this script helps.



Thanks,


Gee


HI,



Does this code works in Helsinki version, I am still not able to change the domain in domain picker.



Could you please help if i am missing anything



Regards,


Rishika