Symantec IGA

Expand all | Collapse all

Is it possible to increment attribute value by one after particular task?

  • 1.  Is it possible to increment attribute value by one after particular task?

    Posted 11-14-2016 05:24 PM

    Hello,

     

    We have a requirement wherein whenever user requests a role , a particular attribute should be set. And each time any user requests the same role , this value should increase by one.

     

    Let us take this use case -- Suppose user test1 request access role "testRole", value of description attribute on his profile should be set to 100. Next time when another user test2 request the same access role , description should be set to 101 , similarly 102 for user test3 requesting the same role.

     

    Can anyone help here ? 

     

    Thanks,

    Shashank



  • 2.  Re: Is it possible to increment attribute value by one after particular task?

    Posted 11-17-2016 08:41 AM

    You could create an external DB table containing RoleName and Counter column and then rely on a PX Policy or custom code to update this external table.



  • 3.  Re: Is it possible to increment attribute value by one after particular task?

    Posted 11-29-2016 04:45 AM

    You could write a blth or PX that would get role members at task runtime. You could either count them or loop all the members and get their description attribute.

    But this will be difficult to manage if you start unassigning roles. An external table would indeed be your best bet.