Appian Task

Hi Everyone,

I am handling the task assignment through database tables. But when two users will click simultaneouly on the link which will start the process model. How to ensure that only one user should be given the task.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to Rahul009

    There's no bre-built process locking to "apply", maybe i chose a misleading term.  What I meant is that you should build your process to handle the locking for you.

    In the process after any user attempts to click into the "task" in question, the very first thing that should happen is for the process to query the relevant DB table to check whether another user has already accessed the "task", and if so, divert the process flow to an alternate task explaining that this task is in use by another user.  If not, the very next thing it should do is write the locking value immediately back to that same table, before proceeding on to the user input task or any other pre-task processing.