Hi All,
Is there any way to get the logged-in user's Site URL? We are using multiple sites in my application and I Just to confirm which Site user is currently logged In.
Thanks in Adavance.
Regards,
Discussion posts and replies are publicly visible
No. That concept does not exist in Appian. A use does not login to a specific site or application, but only to the whole environment.
I have a situation, where one user is a member of 2 groups. I am performing assignments and maintaining 2 different sites. From site 1, I can able to assign tasks of Dept A, Dept B, and to Group Inbox. And From Site B, I can only assign To Dept A. As the I am part of both groups, would not able to restrict him. When he logged in from Site 1, he could see all the options of assignment(Dept A, Dept B, and assign to Group inbox), and When he logged in from site 2, He should only see the option to assign Dept A. But it's not happening. He sees all the options of assignment no matter from which site he logged in. I need help here.
I understand. When creating a process report of type "tasks for user", add a field that allows you to filter the tasks in a way that both sites only show relevant tasks.
Either create two reports with predefined filters, or a common one and filter at query time.
i think he is asking for a way to restrict "ASSIGNING" tasks to few groups from a site.process reports comes into play for "ASSIGNED" tasks.
Yes. I want to restrict users(even though the user is present in both groups) to view sites and take action on record actions or to view common interfaces.
OK. What does this have to do with task assignment and task visibility?
You need a way to distinguish that user. Then use objects security to define permissions.
Either you create 1 interface for each site (it looks like the problem is that you are reusing the same interface on both sites).
Otherwise, if you insist on wanting to detect the site, you could just generate a record URL using recordUrl() and extract the site from the from the URL.