How to get Instance url in the description field using Flow designer in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 02:48 AM
Hi,
I have created a flow designer for Mid server status changes, whenever the status changing to up and down, one incident will create stating that Mid Sever status Changes to up/down.
I need to add the instance URL (Dev/Test/Prod) in the description filed using flow designer in which instance the mid server status is changing.
Thanks,
Rashmi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 02:57 AM
Hi there,
You could create a Flow Variable which contains for example system property instance_name, or you could script this on the Input of the description. Have you tried this? Or what is the issue you are running into?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 03:48 AM
Hi @Rashmi N ,
You can store the instance name in system properties & utilise it in flow designer. Create those properties in all instances & value of property would be instance name.
Set flow variable like below:
var instanceName = gs.getProperty('instance_name'); gs.info(instanceName); gs.print(instanceName); gs.log(instanceName);
🙂