Conditional show of Accept, Re-assign buttons

Certified Associate Developer

Hi, 

If a user is part of 2 groups: Assistant and Manager.

Same user who submitted a task as an Assistant shouldn't be able to access next task in the flow as Manager.

Is there a way not to show/disable the accept and reassign buttons when the same user tries to claim the task?

Or can we show an error message when trying to accept?

Any help/ideas are appreciated.

Thanks,
Keerthi

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Thanks all for your response.

    Excluded restriction is already there in the system. In fact same user can't be assigned to the next task.

    Actual issue:

    We have a Manager task list(customized) which shows all others tasks(assigned to other users and actual group tasks).

    Since the user is part of the group he still can see the task via the customized list. This is implemented if any user who has assigned task and goes OOO, then other users can pick it up.

    The requirement is to disable the accept, reject and re-assign buttons if the same user who has dual access (access to both the tasks) should be restricted to claim the Manager task/2nd task (if he already submitted Assistant/1st task) and show him an error/warning message.

    Note: We shouldn't remove the task from the customized task list is the ask from business.

  • 0
    Certified Lead Developer
    in reply to keerthik0010

    How is this "Manager Task List" implemented?

    Background: Process models have the security role "Manager" which allows a person in that role to reassign any task to anyone.

    So, there is no specific way to disable these buttons, but you can use the task assignment, task management and model security to set this up.

Reply Children