This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dynamic Role Calculation

I have some dynamic business roles and the dynamic check checks on some resources that a user has so it's looking at PersonHasQERResource. I want the business role to reevaluate instantly when a user receives a resource - similar behaviour to setting to the configuration parameter 'QER\Structures\DynamicGroupCheck\CalculateImmediatelyPerson' where it evaluates immediately when a Person attribute changes. I don't want to decrease the scheduled time between checks because I have many groups and I think the load will be too much. I've checked for processes with generating conditions containing the above configuration parameter but couldn't find any. Reading other posts on here, I understand the schedule for the dynamic roles fires off a Stored Procedure so I think maybe the configuration I want is not possible. Any ideas?

Thanks

  • Hmm..I would imagine there is a way to do this. Maybe try finding which SP does it:

    - Trigger a dynamic group recalculation
    - Check in DialogDBQueue or DialogDBQueueCurrent for that job
    - the job should (hopefully) mention which SP it is executing

    alterantively

    - Trigger a dynamic group recalculation
    - Using Activitiy Monitor (SQL Management Studio), try and see which SP is running

    Once you know the SP, then it should be simple I think to invoke it in a process chain.

    HTH
    Kin
  • With some help, I found there is an object method on the DynamicGroup objects. Just need to create a process that fitted it on the right group when required. Thanks