<?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>Call a Connected System in a Process Model</title><link>https://community.appian.com/discussions/f/process/21514/call-a-connected-system-in-a-process-model</link><description>I have a connected system that needs to be manually clicked in order for it to get a token. Once you press the &amp;quot;Authorize&amp;quot; button, it somehow saves the token in Appian and then you can call an integration. Can that same functionality be replicated in</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84124?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 20:15:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:643d5349-5d17-4a76-b185-5930b4908277</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;No I meant, I have my Connected System with the &amp;quot;Client Credentials Grant&amp;quot;, but I was under the impression that you &lt;strong&gt;had&lt;/strong&gt; to click the &amp;quot;Authorize&amp;quot; button first. I set it up again without clicking the &amp;quot;Authorize&amp;quot; button in the Connected system and went to the integration&amp;nbsp;to &amp;quot;Test Request&amp;quot; and it worked! So that was the issue for me, that I thought I had to click the Connected System first with the Client Credentials Grant. In theory then, when calling this integration in the PM (with CC Grant), there would be no manual authorization. Thank you &lt;a href="/members/selvakumark"&gt;Selvakumar Kumarasamy&lt;/a&gt; for your help in clarifying this for me, much appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84123?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 18:26:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2221787a-6052-4c82-9012-2f1a28deb973</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>[quote userid="59065" url="~/discussions/f/process/21514/call-a-connected-system-in-a-process-model/84122#84122"]I still have to press the Authorize button[/quote]
&lt;p&gt;For a connected system that uses the OAuth 2.0 Authorization code, user interaction is absolutely necessary. We cannot bypass it &amp;amp; that&amp;#39;s where I recommended using the authorization link component to make the user authorize.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The OAuth lesson in this academy course explains all bout it -&amp;nbsp;&lt;a href="https://academy.appian.com/#/online-courses/cd39985a-4829-44c6-ae7e-e9deb33d59ce"&gt;academy.appian.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My other suggestion to use the Client Credential grant method is more of a kind of system-to-system communication that requires no user interaction. We just have to create a connected system of this type and use it inside an integration. Then we can call the integration at the required places - Appian will automatically generate tokens for the API calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84122?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 18:04:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85117762-770a-48b4-9aa3-d6918cc876e3</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;&lt;a href="/members/selvakumark"&gt;Selvakumar Kumarasamy&lt;/a&gt; that&amp;#39;s how I have my Connected System setup. How does that help with not having to get the token manually? I still have to press the Authorize button and then add it to the integration, can you explain further please? I saw the article as well on OAuth 2.0: Client Credentials Grant and doesn&amp;#39;t explain how to utilize it in a PM, do I get the Token endpoint into a variable in a PM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84086?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 03:07:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b417071-73ad-4519-9e82-145a8715999c</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;&lt;a href="/members/alexl0007"&gt;here2learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As Stefan said, it needs user interaction to get a token. You can create a user input task in the process model where the individual user can authorize their session and generate a token, Below links might be useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/authorization_link_component.html"&gt;docs.appian.com/.../authorization_link_component.html&lt;/a&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/setting_up_an_oauth_connected_system.html"&gt;docs.appian.com/.../setting_up_an_oauth_connected_system.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the other hand, if you don&amp;#39;t want the user interaction, then you can try changing the connected system to work based on&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.2/oauth_client_credentials.html"&gt;OAuth 2.0: Client Credentials Grant&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84075?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 19:12:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b4b041f5-c3ee-4380-8e0f-7d6ab535c5a3</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;So the Connected System has to be always &amp;quot;Authorized&amp;quot; manually? Is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a Connected System in a Process Model</title><link>https://community.appian.com/thread/84074?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 19:01:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ee6e0238-2fb4-44ae-bbf1-aca1ca834e03</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That is not possible. At least not easily or out-of-the-box. This type of authentication requires the user to interact.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>