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
4 replies
Subscribers
5 subscribers
Views
1953 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi, I'm creating a servlet that's using the following method to get the
nickw
over 10 years ago
Hi, I'm creating a servlet that's using the following method to get the first task ID from an array of task ids, where the task status is NOT accepted. For some reason, every time I activate the servlet, I'm seeing the same task ID being returned by the method. I'm including both the code and the logging info I have below. Does anyone have any idea why this may not be working?
Log:
19:08:05,574 INFO [stdout] (ajp-/0.0.0.0:8009-33) 2015-03-18 19:08:05,574 [ajp-/0.0.0.0:8009-33] ERROR com.snl.appian.servlets.rapidaccept.RapidAccept - Adding User Context to Task Report: nickw
19:08:05,747 INFO [stdout] (ajp-/0.0.0.0:8009-33) 2015-03-18 19:08:05,747 [ajp-/0.0.0.0:8009-33] ERROR com.snl.appian.servlets.rapidaccept.RapidAccept - Finding first unaccepted task with status 1...
19:08:05,752 INFO [stdout] (ajp-/0.0.0.0:8009-33) 2015-03-18 19:08:05,752 [ajp-/0.0.0.0:8009-33] ERROR com.snl.appian.servlets.rapidaccept.RapidAccept - Status {1} for task id:537139...
OriginalPostID-142017
OriginalPostID-142017
Discussion posts and replies are publicly visible
Parents
0
Conor Cahill
Certified Lead Developer
over 10 years ago
Are you filtering out completed tasks from your ID list? Take a look at the taskID that keeps getting returned (is it completed? is it assigned? if assigned, then try accepting it and run the servlet again)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Conor Cahill
Certified Lead Developer
over 10 years ago
Are you filtering out completed tasks from your ID list? Take a look at the taskID that keeps getting returned (is it completed? is it assigned? if assigned, then try accepting it and run the servlet again)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data