Flow Designer instance verification

Mark Petras1
Tera Contributor

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!  

1 ACCEPTED SOLUTION

SC15
Tera Guru

@Mark 

 

 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.

View solution in original post

1 REPLY 1

SC15
Tera Guru

@Mark 

 

 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.