Dynamically changing the user's domain session based on selected company

abdul_qulatein
Giga Expert

How can we dynamically change the current domain session based on company's domain of an incident when a certain condition is met e.g a tick box is ticked.

In a domain separated instance, each company has its own domain. We want to change the engineer's session so they can execute an Orchestration workflow that requires the following elements to reside in the same domain as the engineer / user executing the workflow:

The IP Ranges

The MID Servers

The records containing the Credentials used by the MID server

The MID Server user

The target CIs

The incident / change record that triggers the Orchestration Workflow

Your input is greatly appreciated.

11 REPLIES 11

I'm not sure that makes a difference for the IP question. So the system property isn't working, but what if you change the domain using the domain picker. Does everything work then?


Yes, it works. I have manually tested this everything seems fine when I physically change the domain and execute the orchestration workflow within the domain. Hence my question to dynamically change the session domain based on some condition on the incident record.


Ok - one more system property to check: glide.sys.domain.use_record_domain_for_processes = make that true.


Yes - That system property is already set to true.


What is the default domain for the Users? TOP, or what. I'm thinking the answer is in the system properties since it works when you manually change the domain.





Any overrides set: glide.sys.domain.no_change_roles