<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I&amp;#39;m trying to write a servlet that automatically accepts the first task in a</title><link>https://community.appian.com/discussions/f/plug-ins/4351/i-m-trying-to-write-a-servlet-that-automatically-accepts-the-first-task-in-a</link><description>I&amp;#39;m trying to write a servlet that automatically accepts the first task in a list that hasn&amp;#39;t already been accepted by the user who initiated the servlet. I&amp;#39;m looking at the API and it looks like the closest thing to this I can find is the ProcessExecutionService</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I'm trying to write a servlet that automatically accepts the first task in a</title><link>https://community.appian.com/thread/15617?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2015 10:10:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d096b03-1d39-46ca-bb1c-c7699e28b13f</guid><dc:creator>Eduardo Fuentes</dc:creator><description>The TaskSummary class has constants for the status, e.g. TaskSummary.TASK_STATUS_ACCEPTED&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm trying to write a servlet that automatically accepts the first task in a</title><link>https://community.appian.com/thread/15616?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2015 10:09:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88f7ebdd-6390-4c75-bf4e-d5eee347458a</guid><dc:creator>Eduardo Fuentes</dc:creator><description>I&amp;#39;d rather use: ProcessExecutionServcice.getTaskDetails(taskId).getStatus())&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>