Forum Discussion
duplicate objects on APM webtop
Hi,
Our access policy sometimes results in multiple, duplicate resource assignments, i.e., the user may end up being assigned the same remote desktop multiple times due to their particular group membership. This results in the object appearing twice on their webtop. Is there a way to get APM to ignore duplicate resource assignments so that the webtop only ever contains one of each resource icon ?
Thanks for your help
10 Replies
- Seth_Cooper
Employee
Can you please describe how you Visual Policy is configured?
this might help out
https://devcentral.f5.com/questions/apm-resource-assigning
- Thomas_Gobet_91
Cirrostratus
You can also add an empty box in which you add a condition. For example as soon as resources are applied to your users, you can set a flag (your own variable) to 1.
And for others boxes "Ressources Assign" just add a branch to verifiy that your flag is not set.- that sounds like a rather complex setup, could you show an example?
- Thomas_Gobet
Nimbostratus
You can also add an empty box in which you add a condition. For example as soon as resources are applied to your users, you can set a flag (your own variable) to 1.
And for others boxes "Ressources Assign" just add a branch to verifiy that your flag is not set.- that sounds like a rather complex setup, could you show an example?
- Thomas_Gobet_91
Cirrostratus
When your first ressource assign is done, you can set a custom variable with the box "variable assign".
Here is an example of an entry : session.logon.last.your_custom_variable_name = expr { "flagged" }
Next thing to do is to create a macro beginning with an empty box to create your condition like that :
Into the branch rules tab, you can set your condition into the advanced part :
mcget {session.logon.last.last.your_custom_variable_name} == "flagged"
You will have to branches, and on the fallback one you can create your resource assign box.
I'll try to make a VPE screenshot later to make it easier to understand.
- please do because i still dont quite see the use. i believe this is easier: https://devcentral.f5.com/s/feed/0D51T00006i7PDhSAM
- Thomas_Gobet
Nimbostratus
When your first ressource assign is done, you can set a custom variable with the box "variable assign".
Here is an example of an entry : session.logon.last.your_custom_variable_name = expr { "flagged" }
Next thing to do is to create a macro beginning with an empty box to create your condition like that :
Into the branch rules tab, you can set your condition into the advanced part :
mcget {session.logon.last.last.your_custom_variable_name} == "flagged"
You will have to branches, and on the fallback one you can create your resource assign box.
I'll try to make a VPE screenshot later to make it easier to understand.
- please do because i still dont quite see the use. i believe this is easier: http://devcentral.f5.com/questions/apm-resource-assigning
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com