Friday, December 12, 2014

Modifying WrkStat.aspx With Custom TaskOutcome


If you have ever developed custom TaskOutcome field for 2013 workflows with your own choices (link 1 or link 2), you have probably thought how to customize WrkStat.aspx and select your custom column in it for the tasks view instead of standard TaskOutcome:

Manage ListItem Permissions in SP Designer Workflows


Today I'll show you how to manage List Item permissions in workflows developed in Sharepoint Designer 2013.

If you try to do this, you'll not find that in standard actions. A little bit frustrating, isn't it? But don't be disappointed!

Thursday, December 11, 2014

Work with 2013 Workflow Instances Programmatically

Hello everyone!

Like in one of my previous posts we had been studying to start workflows programmatically, today we shall work with it properties.

If you would like to get WorkflowInstance of your started or terminated workflow over the SPListItem, you need to use new 2013 workflow API, because the old 2010 workflow API will not work. Let's dive!

Friday, June 27, 2014

Update Workflow Definition in Production Environment

When you develop workflows in your developing environment you simply re-deploy your SharePoint-project to dev-server, and Visual Studio deletes workflow definitions and associations:

 3> Deleted file 'http://portal-dev/wfsvc/de109848e7d84f2bb90713227d48d9fe/Workflow.xaml' from server.  
 3> Deleted file 'http://portal-dev/wfsvc/de109848e7d84f2bb90713227d48d9fe/WorkflowStartAssociation' from server.  

But when you have developed workflows and publish them to the production environment, you will meet an issue that workflows are not updating.

Sunday, June 1, 2014

Workflow Tasks Emails Disabling

Assigning a task you may want to disable email sending to determine your own emails like in this thread. But what will you see at the task activity properties?

Friday, May 30, 2014

Code Activities Exceptions at Workflow Publishing

I encountered a problem when your old workflows, that already have been working, was caused exceptions on publishing. For example, this forum discussion. You may spent many hours to make them work again. Let's dive!

Friday, May 23, 2014

Cross-stage workflows for beginners. Part II. WorkflowDesigner in Visual Studio

Hi everyone!
As I wrote in previous part, we are studying to program cross-stage workflows. Today we'll look at how it implements by more powerful instrument - Visual Studio 2012.

Wednesday, March 12, 2014

Cross-stage workflows for beginners. Part I. SharePoint Designer

One of the most important things in SharePoint 2013 is cross-stage workflows. SharePoint 2010 has "sequential" chain-like workflows with plain passage in flow. Sequential workflows pass through the flow from start point to end point with executing a defined set of activities. This is restricting your vision of any workflow in your organization. Let me show you how you can implement workflow with a complex business logic.

Tuesday, January 14, 2014

Code Activity Assembly Cache Updating

How to develop code activities for the Workflow Manager you can for example read here.
When you have developed the second version of your activity you need to update activity DLL cache. Otherwise, the old version will execute in your workflow. Let's see how to do it.