Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
8 subscribers
Views
1722 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I'm fairly new to Appian so please excuse me if there is an o
michaelg233
over 8 years ago
Hi,
I'm fairly new to Appian so please excuse me if there is an obvious answer to my question.
I have created a process model which enables users to allocate themselves a task by pressing a button. The tasks have a score allocated them, scoring them on the deadline they are due and how long they have been in the system. The tasks are allocated in order of their score (all scores are unique). The problem I'm having with my use case is that if users press the button within seconds of each other, they are receiving the same confirmation of task allocation but the task only goes to one user and other users have no tasks allocated to them. Is there a method to avoid this scenario? There are roughly 20 users seeking tasks out of the same pool.
Can anyone assist please?
OriginalPostID-219390
OriginalPostID-219390
Discussion posts and replies are publicly visible
0
GouthamKrishna
over 8 years ago
Hello, how do users allocate themselves a task ? Where is that button available ? In a form of your process model ? Who does get this form initially ? All those 20 users ? If so, how about assigning this task to all users individually (by enabling 'one-to-one assignment' in Assignment tab) ? In this way each one of them will get a separate task for them to click on that button independently, does this solve your problem ? If not, please try to elaborate more on this use-case...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@michaelg Hi, I would like to suggest you add some more information re as to how you have build the Task Assignment functionality? Also would you be able to add some more details about the confirmation(Is is a default notification or not?)?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michaelg233
over 8 years ago
Hi, the button appears on a report that targets the group of 20 users, which launches the process model to determine the task allocation. I have attached a screenshot of the model that is launched. The "design task info" is the form that displays the confirmation. I have put in a timer and an initial report check to make sure users don't spam the button. I hope the attached offers more insight, but please ask me anything else if needed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michaelg233
over 8 years ago
@sikhivahans the rule that drives the task assignment grading is:
"=todecimal(now() - pp!starttime)+(todecimal(tp!deadline-now())*-1)"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michaelg233
over 8 years ago
I think I'm encountering a race condition. I will try to introduce some kind of flag to eliminate this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel