Forum Discussion

walou12_113339's avatar
walou12_113339
Icon for Nimbostratus rankNimbostratus
Nov 22, 2013

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

  • this might help out

     

    https://devcentral.f5.com/questions/apm-resource-assigning

     

  • 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.

     

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP
      that sounds like a rather complex setup, could you show an example?
  • 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.

     

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP
      that sounds like a rather complex setup, could you show an example?
  • 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.

     

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP
      please do because i still dont quite see the use. i believe this is easier: https://devcentral.f5.com/s/feed/0D51T00006i7PDhSAM
  • 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.