Hi,
I am using standalone installation of SharePoint 2013 with Workflow manager enabled (Workflow 2013).
I have created a Workflow 2013 application (app for SharePoint - a list workflow) using Visual Studio 2012.
In visual studio, I have following projects / Folders -
1. Features
2. Package
3. Content
4. Custom Lists
5. Images
6. Pages
7. Scripts
8. App Manifest file & a packages config file
When I deploy this app using Visual Studio, I can see app being successfully deployed to site.
Some of the important excerpts copied from Visual Studio output window -
.............
.............
Successfully created package at: C:\Users\so-saxenav\Documents\Visual Studio 2012\Projects\SPAppForWF2013\SPAppForWorkflow2013\SPAppForWorkflow2013\bin\Debug\app.publish\1.0.0.0\SPAppForWorkflow2013.app
.............
.............
App was installed athttp://saxenav-ba6da513bc4182.app.lab.local/SPAppForWorkflow2013/
Host resolution for saxenav-ba6da513bc4182.app.lab.local failed with the following exception: System.Net.Sockets.SocketException (0x80004005): The requested name is valid, but no data of
the requested type was found
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
at Microsoft.VisualStudio.SharePoint.FileBasedHostNameResolver.AddHost(String appWebDomainName, String parentWebUrl, Guid productId).
Added 'saxenav-ba6da513bc4182.app.lab.local' to HOSTS file.
Successfully installed app for SharePoint.
Skipping deployment step because a post-deployment command is not specified.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
.............
.............
At the end of deployment, it opens up the Sharepoint site showing my app and I am asked to trust this app on the site .
Once trusted, it is redirected to app home page. Notice that app is being published to its own app domain (app.lab.local) on Sharepoint site which is hosted on main lab.local domain.
However when I click on workflow links, it says that this site has no workflows on this site.
If I go to the custom list that was published to site as part of my app, it says that there are no workflow to associate.
However, I did have target list associated with workflow in workflow project property. My workflow just have a simple REST API call activity and writing a message to workflow history.
So question I have is - why do I not see any workflow anywhere in the app I published on Sharepoint site even when workflow XAML file/project was part of the solution I deployed through visual
studio?
I noticed that feature maifest file I have in Visual Studio dont have any reference to workflow XAML file but from what i searched on MSDN, it seems to be an expected behavior so I am kind of confused as to how and where workflow in app is being deployed.