<?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>Data not showing up externally in a webAPI</title><link>https://community.appian.com/discussions/f/integrations/23322/data-not-showing-up-externally-in-a-webapi</link><description>I&amp;#39;ve got a sort of weird problem that I can&amp;#39;t figure out. I have a webAPI built that kicks off a process model for creating new users. When I test it within Appian, I get a JSON response with all the info about the process model. 
 { &amp;quot;pp&amp;quot; : { &amp;quot;id&amp;quot; : 268442112</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89587?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 14:18:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2f57f1a-78e2-44dc-ae39-0c52c2172d1c</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;I could have swore I had done that, but I am guessing I adjusted the permission elsewhere and got mixed up in my head. Oops. That was apparently it. Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89586?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 14:11:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:16f29830-c5e4-4eea-af06-fb67cc48488f</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>[quote userid="71398" url="~/discussions/f/integrations/23322/data-not-showing-up-externally-in-a-webapi/89545#89545"]I&amp;#39;ve tried all levels of security for the service account, and that doesn&amp;#39;t seem to change anything.&amp;nbsp;[/quote]
&lt;p&gt;Hi Marco,&lt;br /&gt;&lt;br /&gt;I could reproduce this issue only when the service&amp;nbsp;account used for authentication has&amp;nbsp;&lt;strong&gt;Initiator&lt;/strong&gt; access over the process model. If I changed the security to&amp;nbsp;&lt;strong&gt;Viewer&lt;/strong&gt;, I was able to see the process info.&lt;br /&gt;&lt;br /&gt;But since you&amp;#39;ve tested it already, we could try calling the API in postman&amp;nbsp;using the basic authentication of your admin account. In this way, we can check whether the issue is with the service account/security or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89585?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 13:50:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0325552c-eacc-434a-9f2c-226bcd1697cd</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;That&amp;#39;s exactly what I am doing (well, returning all of fv!process info, not just the pp section), but the response data is all empty. And even then only when I access it from an external source. If I test it within appian, all the data is there (as shown in the first section) but externally the data is missing (as the second section).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89554?ContentTypeID=1</link><pubDate>Sun, 09 Jan 2022 03:08:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8311133-b1d3-46f6-b851-6c9fbe835cca</guid><dc:creator>VinodT</dc:creator><description>&lt;p&gt;If I understood correctly, you are looking for capturing response at external system when API gets called.&lt;/p&gt;
&lt;p&gt;If yes, you can do it by using onSuccess attribute of start process SS.&lt;/p&gt;
&lt;p&gt;e.g:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;onSuccess: a!httpResponse(&lt;br /&gt; statusCode: 200,&lt;br /&gt; body: a!toJson(&lt;br /&gt; {&lt;br /&gt;response:&amp;nbsp;&lt;br /&gt;index(fv!processInfo, &amp;quot;pp&amp;quot;, {})&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89548?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 14:59:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49960c1a-c6ca-409a-854a-c34df7477cc3</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Yep, saved and published.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tried with and without chaining, no change.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently the process model only writes the data to a data store as I don&amp;#39;t want a million test accounts that I can&amp;#39;t delete, but when I do enable that functionality it changes nothing. Permissions don&amp;#39;t seem to make a difference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89546?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 14:26:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b53106bb-f749-43f8-88e1-51f7bf20b9fb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sorry, no good ideas here ...&lt;/p&gt;
&lt;p&gt;You did save&amp;amp;publish, not just save?&lt;/p&gt;
&lt;p&gt;Chaining is enabled?&lt;/p&gt;
&lt;p&gt;A node that creates users must be run as a sys admin user. Permissions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89545?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 13:51:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:874cb188-d9bf-4839-a06b-535393661d83</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;On error it returns the standard &amp;quot;There was an error starting the process&amp;quot; message.&lt;/p&gt;
&lt;p&gt;The process model &lt;em&gt;is&lt;/em&gt; running and does everything it needs to do without giving any errors. I can see it completes properly. It just doesn&amp;#39;t spit back any info at the end and then only specifically when connecting externally. I&amp;#39;ve tried all levels of security for the service account, and that doesn&amp;#39;t seem to change anything.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data not showing up externally in a webAPI</title><link>https://community.appian.com/thread/89534?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 07:05:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cc2ee89e-db0a-48c9-a6d1-4369c346d42c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When calling from external, the JSON looks wrong. Could it be that the user does not have proper permissions? In the API, what do you return in the onError part of the startProcess?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>