<?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>Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/discussions/f/integrations/22331/web-api-that-connects-to-process-model--i-need-to-pass-input-parameter-different-and-get-a-different-output-parameter-can-anyone-help-me-out</link><description>Hi Appian team, 
 
 Web API that connects to process model -I need to pass input parameter different and get a different output parameter can anyone help me out with this , now whatever am passing as input parameter to processparameter same am getting</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87413?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 06:44:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8543684-0dd7-486c-aab4-b72f7cde9b1a</guid><dc:creator>sunus0001</dc:creator><description>&lt;p&gt;Hi Peter Lewis,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the reply, I understood what happening&amp;nbsp; behind the API and process model.&amp;nbsp;&lt;/span&gt;&lt;span&gt;My input is the data table and input parameters are corresponding&amp;nbsp; table columns and what process model does is inserting this value to a database&lt;/span&gt;&lt;span&gt;, that is using the write to datastore function.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have the following doubts:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I bring the output parameters from the different tables or views which is added as process variable-I hope it is possible?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I pass alias values as table input parameter like table column name is Purchase Order-but parameter name in the the JSON TEXT should be&amp;nbsp;Order_Del_Number.Both are same but i need to have the names changed how can i link them together. What are the different ways available in Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sunu Sam&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87405?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 19:10:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f9ac1f8-4b9d-4053-961c-f34a1413ad35</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Keep in mind that the output and input is directly related to the process variables in your process model. The output you provided above is simply the default output of the web API that includes all the process parameters and process properties. When you map your inputs, you&amp;#39;re&amp;nbsp;&lt;em&gt;also&lt;/em&gt; mapping to process variables - in this case&amp;nbsp;the fields&amp;nbsp;the variables described in the &amp;quot;pv&amp;quot; field.&lt;/p&gt;
&lt;p&gt;If you want the inputs to be &amp;quot;Order_Del_Number&amp;quot;, &amp;quot;Order_Del_Item_Number&amp;quot; and &amp;quot;Source_System&amp;quot;, how do you plan to map those in your process? Do you plan to have variables for those?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87379?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:38:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88bb5592-7cbe-4e2c-bdba-227f2609dda1</guid><dc:creator>sunus0001</dc:creator><description>&lt;p&gt;OUTPUT should be like this&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt; &amp;quot;pp&amp;quot;: {&lt;br /&gt;&lt;br /&gt; },&lt;br /&gt; &amp;quot;startTime&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt; &amp;quot;timeZone&amp;quot;: &amp;quot;GMT&amp;quot;,&lt;br /&gt; &amp;quot;starred&amp;quot;: false,&lt;br /&gt; &amp;quot;parentName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt; &amp;quot;execId&amp;quot;: 0,&lt;br /&gt; &amp;quot;status&amp;quot;: 0&lt;br /&gt; },&lt;br /&gt; &amp;quot;pm&amp;quot;: {&lt;br /&gt;&lt;br /&gt; },&lt;br /&gt; &amp;quot;timeZone&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt; &amp;quot;starred&amp;quot;: ,&lt;br /&gt; &amp;quot;parentName&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt; },&lt;br /&gt; &amp;quot;pv&amp;quot;: {&lt;br /&gt; &amp;quot;PF_ApprovalStepCacheList&amp;quot;: null,&lt;br /&gt; &amp;quot;RequestTable&amp;quot;: {&lt;br /&gt; &amp;quot;RequestId&amp;quot;: 644,&lt;br /&gt; &amp;quot;ProcessID&amp;quot;: 180223,&lt;br /&gt; &amp;quot;ReasonCodeID&amp;quot;: 17,&lt;br /&gt; &amp;quot;RegionID&amp;quot;: 5,&lt;br /&gt; &amp;quot;RootCauseID&amp;quot;: 54,&lt;br /&gt; &amp;quot;RoutingMethodID&amp;quot;: 1,&lt;br /&gt; &amp;quot;ShipmentDirectionID&amp;quot;: 2,&lt;br /&gt; &amp;quot;ShipperID&amp;quot;: 119,&lt;br /&gt; &amp;quot;CorrectiveActionReason&amp;quot;: &amp;quot;testing - corrective action&amp;quot;,&lt;br /&gt; &amp;quot;DestinationCustomerSupplier&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;&lt;br /&gt; },&lt;br /&gt; &amp;quot;zzButton&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;ANd INPUT parameter like&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;quot;Order_Del_Number&amp;quot;:&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Order_Del_Item_Number&amp;quot;:&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Source_System&amp;quot;:&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87377?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:28:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:251d2442-e40c-4921-84d3-044e78e870ad</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;Can you please provide a sample output that you want?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87376?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:25:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af63686c-d54c-4c59-8b25-6b1f1e00a931</guid><dc:creator>sunus0001</dc:creator><description>&lt;p&gt;HI SelvaKumar,&lt;/p&gt;
&lt;p&gt;yes i mean passing as JSON text the input parameters. Am passing a table values as parameter and getting the same table back in output , can i change the output parameter alone, hope you got my point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87375?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:22:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21f47ceb-a15d-4e30-8b08-a47473ec9d08</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;Sorry I&amp;#39;m not getting what you mean by passing different input parameters.&amp;nbsp;Seems like you&amp;#39;re passing a JSON text as API&amp;#39;s request body. Do you want to pass data other than that? Then you can make use of query parameters.&lt;/p&gt;
&lt;p&gt;And what do you mean by different output parameters?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87373?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:17:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd08d8a2-89fb-4c16-98a0-278e0e421b28</guid><dc:creator>sunus0001</dc:creator><description>&lt;p&gt;Hi Selvakumar,&lt;/p&gt;
&lt;p&gt;No am not asking that right now what ever i passed as input the same parameters am getting as output parameter in WEB API,how can i pass input parameters different and get a different output parameter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API that connects to process model -I need to pass input parameter  different and get a different output parameter can anyone help me out?</title><link>https://community.appian.com/thread/87371?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 08:51:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d7a0716-7f0d-45b2-b34b-b08498d79db4</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think you are expecting to get the processed results from the process model. If so, you have to do&amp;nbsp;&lt;strong&gt;activity chaining&lt;/strong&gt; up to the node where the data is processed.&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/21.3/Process_Model_Recipes.html#enabling-activity-chaining"&gt;docs.appian.com/.../Process_Model_Recipes.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>