- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 08:44 AM - edited 11-24-2023 08:47 AM
Below are two questions I need some help with:
1) How to check if Domain is global in Flow Designer?
This is what I am using:
I have also tried Condition: Domain is blank
I also tried Condition: Domain is global
Nothing is working
2) How to access Flow Variables inside the Flow Inline script?
Note: The Trigger type is Scheduled
I appreciate your time and suggestions.
Thanks,
Ritesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2023 09:48 PM
Hi @Hemanth M1 ,
Thank you for your prompt response.
Your inputs were valuable.
For 1st one instead of using script, I have created a flow variable to store domain value and then appended a string to it.
Ex: Set flow variable domain = Domain1 and then used if condition to check if it is global1
2nd one which you mentioned is correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023 09:20 AM
Hi @RiteshSwarnakar ,
1)If none of the condition worked, use script in the look up and glide records check the domain ex: gr.sys_domain == 'global'
2)you can use this flow variable value as below:
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2023 09:48 PM
Hi @Hemanth M1 ,
Thank you for your prompt response.
Your inputs were valuable.
For 1st one instead of using script, I have created a flow variable to store domain value and then appended a string to it.
Ex: Set flow variable domain = Domain1 and then used if condition to check if it is global1
2nd one which you mentioned is correct.