﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/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>Deploying (SharePoint) Workflows</title><link />http://developers.de/blogs/damir_dobric/archive/2012/10/23/deploying-sharepoint-workflows.aspx<description>When deploying workflow you might get sometimes really scaring error messages. Due the complex infrastructure of workflow host which relies on error messages can came back from different layer. Today on top of all might seat either your application or</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Deploying (SharePoint) Workflows</title><link />http://developers.de/blogs/damir_dobric/archive/2012/10/23/deploying-sharepoint-workflows.aspx#510965<pubdate>Sat, 26 Jan 2013 07:52:10 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:510965</guid><dc:creator>Damir Dobric</dc:creator><description>&lt;p&gt;Your URL is wrong one. WorkflowManagementClient ist the API which is a part of Workflow Manager and not SharePoint. However the URL which you use is the typical SharePoint URL at which no Workflow Manager Listener is running. This is why you get 404.&lt;/p&gt;
&lt;p&gt;You should try to figure out the right URI with following example:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="https://workflowmanagerhostname:12290/SharePoint/"&gt;workflowmanagerhostname/SharePoint&lt;/a&gt;$ChildScopes?$skip=0&amp;amp;$top=64&lt;/p&gt;
&lt;p&gt;This example shows how to navigate trough SharePoint scopes in Workflow Manager directly from browser. After you found the right scope use that URL to connect with WFClient API.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=510965" width="1" height="1"&gt;</description></item><item><title>re: Deploying (SharePoint) Workflows</title><link />http://developers.de/blogs/damir_dobric/archive/2012/10/23/deploying-sharepoint-workflows.aspx#510962<pubdate>Mon, 21 Jan 2013 17:38:42 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:510962</guid><dc:creator>Arpit</dc:creator><description>&lt;p&gt;Hello Damir,&lt;/p&gt;
&lt;p&gt;I have installed the workflow manager, created a SP 2013 workflow and it runs just fine.&lt;/p&gt;
&lt;p&gt;However, when I try to get &amp;#39;WorkflowDescription&amp;#39; programmatically, I get an error which doesn&amp;#39;t help me getting any further&lt;/p&gt;
&lt;p&gt;Workflow is deployed in the list &amp;#39;Document_Library&amp;#39; and I&amp;#39;m trying the code below:&lt;/p&gt;
&lt;p&gt;WorkflowManagementClient client = new WorkflowManagementClient(new Uri(&amp;quot;&lt;a rel="nofollow" target="_new" href="http://ServerName/sites/SiteName/Document_Library&amp;quot;"&gt;servername/.../Document_Library&amp;quot;&lt;/a&gt;));&lt;/p&gt;
&lt;p&gt;Collection&amp;lt;WorkflowDescription&amp;gt; descriptions = client.Workflows.Get(0, 1);&lt;/p&gt;
&lt;p&gt;When I try to debug this code I get an error:&lt;/p&gt;
&lt;p&gt;A response was returned that did not come from the Workflow Manager. Status code = 404:&lt;/p&gt;
&lt;p&gt;404 NOT FOUND Client ActivityId : 2609d79a-6dd7-4973-945a-67cebb4a9e24&lt;/p&gt;
&lt;p&gt;Any suggestions how I can get past this error, or is there any better way to get workflow details?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=510962" width="1" height="1"&gt;</description></item></channel></rss>