- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 09:09 AM
I am trying to make a workflow that adds a user to an Active Directory group. I am easily able to get the flow to work but we only want people added to this group when the request is made in production. In flow designer Is there anyway to check what instance the request is being made from? Or do I just need to make sure the flow is set inactive in the sub prods?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 09:41 AM
There are few ways to check the instance from which the request is being made, depending on your workflow. I will list you complex->simple way to handle your scenario:
- Add environment variables to your workflow for example : InstanceType= PROD or subProd. Check if your flow can access them first
- Create separate flows for PROD and subPROD
- Make the flow inactive in subPROD (as you mentioned)
Hope this brings some insight in how your scenario can be addressed.
Once you find this solution helpful, please 'mark it as helpful' and 'solved' so others facing the same questions can come to this post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 09:41 AM
There are few ways to check the instance from which the request is being made, depending on your workflow. I will list you complex->simple way to handle your scenario:
- Add environment variables to your workflow for example : InstanceType= PROD or subProd. Check if your flow can access them first
- Create separate flows for PROD and subPROD
- Make the flow inactive in subPROD (as you mentioned)
Hope this brings some insight in how your scenario can be addressed.
Once you find this solution helpful, please 'mark it as helpful' and 'solved' so others facing the same questions can come to this post.