<?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>Hi  I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/discussions/f/general/6904/hi-i-have-a-scenario-wherein-a-process-model-is-exposed-as-a-web-ser</link><description>Hi I have a scenario wherein, a Process model is exposed as a web service which I am calling from Call Web Service node from another Process model, which is acting as the main process model. In the 1st process model if I insert data using Query Database</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27595?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 16:14:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89f53001-1cc1-4ff0-b2b8-f518bcbf6f3b</guid><dc:creator>narasimhaadityac</dc:creator><description>Hi Prateek, is there a possibility of replacing the webservice node with the sub process by making a synchronous call? I am not sure on the entire use case just checking.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27589?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 15:04:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20193f01-86c7-44ff-b786-02ccf08c0c83</guid><dc:creator>Pavan</dc:creator><description>Process model which you have been published as web service has storing the data into database. In the main processmodel your are calling that webservice, but webservice wont wait wait for the process to be completed, whereas in main processmodel the flow will be reaching to querydatabase, but the data has not been written to the database so it no be available to retrieve. I hope this is the exact scenario. Can you check once how much time that webservice is taking time to write data into datastore?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27588?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 14:26:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2f21a0c-c9f4-415f-8095-57245a01ee08</guid><dc:creator>Prateek Bhati</dc:creator><description>Hi pavan, Yes I am using a CDT in the process model which is exposed as a web service&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27587?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 14:23:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c72ce54c-9b05-45f6-985b-500a31b33716</guid><dc:creator>Pavan</dc:creator><description>Hi prateekb, are you using any custom data types in the process model which is published as webservice?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27583?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 13:43:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a31f580-1dbc-48c3-96b4-e2d7299d3e85</guid><dc:creator>pavithrac</dc:creator><description>Ok, just to fill that time gap can you place one or two dummy script tasks in between your two smart services and check whether the flow is continuing without breaking&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27582?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2016 13:38:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e306e2d2-12d2-4016-9d93-a3f739cf570b</guid><dc:creator>Prateek Bhati</dc:creator><description>Hi narasimhaaditya and pavithra , I have tried to run Query DB node after short span of time using a timer and in that case I got response from Query Database node but it breaks the activity chaining, so I can&amp;#39;t go for it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27528?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 17:09:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e492d38-92c6-4598-a205-53a3d0a80ebe</guid><dc:creator>pavithrac</dc:creator><description>Yes I agree with @narasimhaaditya. Since the webservice just invokes the process and the flow will continue forward, try setting scheduling to run the Query DB service node after some gap allowing the data store entity service to write values to DB which is in webservice.Just check if its working, may be it will retrive fast once we query after writing to Db before trying to do so....not sure what will happen, can give a try&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27527?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 16:57:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b53d7601-5a66-49d4-87d6-8b9f66e88208</guid><dc:creator>pavithrac</dc:creator><description>Yes prateek, actually in your main process model you are using two smart services immediately after one. As both are connecting to data base to read / write values...may be this is a expected time delay...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27526?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 16:55:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c335156d-38ee-41a1-80a3-57e3e4fbf435</guid><dc:creator>narasimhaadityac</dc:creator><description>Hi Prateek, can you check the time when the web service node is completed and the write to data store is invoked inside the process which is exposed as web service. I feel the web service mode is proceeding further without waiting as Appian web services will just return the process ID&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27522?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 16:22:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07639cc8-ffc8-4816-b7f5-dd7c03311f03</guid><dc:creator>Prateek Bhati</dc:creator><description>According to me, the delay occurs only after the call web service node in the main process.I have tried to fetch the value using a query rule in a script task immediate next  to the call web service node ,but still it is delaying to display the result.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27515?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 15:38:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e99a086-18d0-4e1d-ba33-a504e87cfad4</guid><dc:creator>pavithrac</dc:creator><description>OK....are you facing the same delay with both services. Do you need to use only Query Db for fetching values? I think delay is due to the usage of query DB&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27512?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 15:18:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf8251d2-6e65-4939-9ae3-de6eeef6c6db</guid><dc:creator>Prateek Bhati</dc:creator><description>Hi pavithrac, thank you for replaying . In my scenario the write to store data node is present in the process model which is exposed as web service. I can&amp;#39;t take the stored values of the smart service outside that process model. I am attaching the screen shots of both the process models.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/Main-Process-model.PNG"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/Main-Process-model.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/PM-exposed-as-webService.PNG"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/PM-exposed-as-webService.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi&lt;br /&gt;&lt;br /&gt;I have a scenario wherein, a Process model is exposed as a web ser</title><link>https://community.appian.com/thread/27508?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2016 15:06:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5540aeb-ef57-456e-aa6c-902ba69f7c55</guid><dc:creator>pavithrac</dc:creator><description>Hi prateekb, when you are fetching the same values it is taking time right, so try storing the values in a variable from stored values of the smart service an try to display in second form instead of fetching....check whether this approach is feasible for your situation&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>