<?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 am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/discussions/f/plug-ins/7093/i-am-trying-to-create-a-servlet-and-that-servlet-will-take-the-process-id-as-an</link><description>I am trying to create a servlet and that servlet will take the process id as an input and redirect the user who is accessing the servlet to open a specific task of the given process id. However, it gives me 404 and writes the below log Caused by: java</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/111030?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 14:13:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc7dfabc-adbc-44e0-8ca4-dd7dcd34e837</guid><dc:creator>tejar4065</dc:creator><description>&lt;p&gt;any example which u developed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/111028?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 13:47:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74d09e6f-a53a-49c1-8095-fea202631ec4</guid><dc:creator>atonal3106</dc:creator><description>&lt;p&gt;&lt;br /&gt;The following code describes the steps required to create a Servlet to process a request.&lt;/p&gt;
&lt;p&gt;Class Name: src/main/java/com/oracle/jdbc/samples/web/WebController.java&lt;/p&gt;
&lt;p&gt;Github Location: WebController.java&lt;/p&gt;
&lt;p&gt;Description: This is the main servlet that controls all the flows of the application. For every new functionality of the application, we will be adding the code to handle the new requests and responses in doPost() and processResponse() respectively.&lt;/p&gt;
&lt;p&gt;Steps to be Performed:&lt;/p&gt;
&lt;p&gt;6. Create a servlet WebController.java and reportError() method&lt;/p&gt;
&lt;p&gt;7. Create a method processRequest() &amp;ndash; This method processes both GET and POST HTTP requests.&lt;/p&gt;
&lt;p&gt;8. Create a method doGet() &amp;ndash; Add details to get the employee details from the database and show the results in JSON. JSON will be the output format of the results that is shown on the HTML.&lt;/p&gt;
&lt;p&gt;9. Create a method getServletInfo() &amp;ndash; To display some generic information about the servlet.&lt;/p&gt;
&lt;p&gt;10. Create a logger to log exceptions and other error messages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/111017?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 12:01:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72eb6a83-0747-4325-b558-6028af79aee4</guid><dc:creator>tejar4065</dc:creator><description>&lt;p&gt;any solution for the above issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28669?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 06:02:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5fa412a5-4015-42c9-9687-f1cccd76958f</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Glad it&amp;#39;s working now. You can continue the conversation about your code in the other post &lt;a href="https://forum.appian.com/suite/tempo/entry/e-198760"&gt;forum.appian.com/.../e-198760&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28626?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 23:37:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53bdd1b6-e0f4-412a-8049-b2a3883cd8da</guid><dc:creator>Karthik</dc:creator><description>I am trying to get the active tasks of an instance using the below code. There is an active task at a process which is nested two levels from the parent process. And the below code is not capturing the active task that I am looking for. How can I get the tasks of a subprocess?&lt;br /&gt;&lt;br /&gt;TaskSummary[] tss = (TaskSummary[]) pes.getCurrentTasksForProcess(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cddProcessId,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ProcessExecutionService.UNATTENDED_AND_ATTENDED_TASKS, 0,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Constants.COUNT_ALL, TaskSummary.SORT_BY_ASSIGNED_TIME,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Constants.SORT_ORDER_DESCENDING).getResults();&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28623?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 23:08:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b18f6830-df4a-49d8-803a-6a4d50e6ee9a</guid><dc:creator>Karthik</dc:creator><description>It was successfully deployed at my server too, however it gave classcast exception during invocation. I could fix it by loading the jars at lib-compile instead of lib. Thanks!&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28587?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 11:39:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3a14efa-b13e-4e41-bfae-2ed40b1a426f</guid><dc:creator>Eduardo Fuentes</dc:creator><description>When do you get that error (ClassCastException)? When deploying? or when invoking? I was able to deploy it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28530?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 23:12:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:406d17b4-9ae8-4d19-9a68-16d2ec966a06</guid><dc:creator>Karthik</dc:creator><description>@Eduardo, here is the plugin. I hope it will help you in debugging. &lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/19/com.karthik.crm.plugins.crmplugins_2D00_1.0.8.jar"&gt;com.karthik.crm.plugins.crmplugins-1.0.8.jar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28487?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 10:17:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:683966c5-9ba8-4a8b-9888-e2275e694574</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Can you attach your plug-in? (feel free to remove any logic you don&amp;#39;t want to share)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to create a servlet and that servlet will take the process id as an</title><link>https://community.appian.com/thread/28484?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 06:53:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:147b23af-8fba-4315-b324-1fc59033b154</guid><dc:creator>Karthik</dc:creator><description>...atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)&lt;br /&gt;        ... 120 more&lt;br /&gt;2016-03-02 02:41:37,164 [ajp-/0.0.0.0:8009-4] ERROR com.appiancorp.ap2.PortalResponse - Error: 404 Message: Could not find servlet for: /suite/plugins/servlet/OpenHomePage&lt;br /&gt;&lt;br /&gt;My class extends HttpServlet though I get the above said exception. &lt;br /&gt;&lt;br /&gt;public class OpenCDDHomePage extends HttpServlet {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static final long serialVersionUID = 1L;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;Please help me in resolving this&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>