You need to sign in to do that
Don't have an account?
Adarsh G 6
Get community name from flow
Hi,
I have 2 communities with same profile. A customer can be part of both the profiles. I want a flow to run only if the customer is logged in one of the community. Any idea how to achieve this? Is there a global variable where I can get the id of currently logged in community?
I know we can query Network sobject to get the community name. But how do we get the id of community to which the user has logged in?
Thanks
I have 2 communities with same profile. A customer can be part of both the profiles. I want a flow to run only if the customer is logged in one of the community. Any idea how to achieve this? Is there a global variable where I can get the id of currently logged in community?
I know we can query Network sobject to get the community name. But how do we get the id of community to which the user has logged in?
Thanks
You can query the community Id too from the Network Sobject. Let me know if you have any follow up queries.
Related: https://help.salesforce.com/articleView?id=000333416&type=1&mode=1
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Thanks for the quick response. I want to achieve this in screen flows. I have 2 communties for the same profile. I want screen flow to execute only for one of the community. Hence I want to know to which community the user has logged in. How can I get the community info in screen flows?
Thanks