Task Assignment when user is added

Hi community,

In our application there is a need of creating 800+ groups. To avoid that we started maintaining group information in table. In our database table we have user id, group id and the branch name. Based on the branch and group id we are retrieving the list of users and assigning tasks to them. The issue is when a task is assigned for users of branch1 and group 1 and then later when I add new member in the table, the new member is not one of the assignees of the task. The client is not okay with creating 800+ groups. Anyone have solution for this?

  Discussion posts and replies are publicly visible

Parents Reply
  • I think the issue is the actual design pattern implemented. If you just used Appian Groups natively, when you created a new User and assigned them to the relevant Group they would instantly see all Tasks that are waiting to be claimed for the assigned Group.

    An alternative design pattern would be to not use native Appian Tasks, but implement the Task concept as a Related Action on an Appian Record. The visibility of the Related Action could be controlled by the same logic that you're implementing to select Users for Tasks. You'd have to implement strict locking so that only one User could run the Related Action at any time (same as only one User can claim and complete a Task); and you'd have to consider how to  replicate Task Escalations/Exceptions so as to manage against any SLAs you might have on the logical Task.

Children