Showing posts with label how to. Show all posts
Showing posts with label how to. Show all posts

19 July 2010

How to create a Custom Report on Nintex Workflow 2007

Since last week I was looking forward on how to deal with custom reports on Nintex. And it's very nice, the way they developed it gives the users some great capabilities on querying workflow information. This post shows the necessary steps to create a custom report using the data already available on Nintex Workflows. I also suggest a previous reading on the SDK document, available here:


Nintex have it own database separated from SharePoint. The developers are capable of creating new tables, stored procedures and what else is necessary to improve the workflow customizing. On the Reporting case, we can create Stored Procedures to handle our custom queries. This How to create a query which looks for how many tasks the users handled. It's quite simple, but is a good way to check how reporting works.

16 July 2010

How to create links to the Workflow Status and Details on a List

This post is quite simple, because it uses some common Nintex variables, but it born from a real user needing, and before I realized it was partially available. My first approach to create the links to the Workflow Status and Details pages was to create the URLs manually. And it worked! But then I realized that it is not necessary. Below I explain step by step how to do it!


09 July 2010

How to create a multi-view web-based InfoPath form controlled by a Nintex Workflow

clip_image001This post explores the capabilities of the integration between InfoPath 2007 + Nintex Workflow 2007. The idea is to create a form which is handled and modified by the Workflow. In order to do that, some customization on the form is needed to show and allow the users to manipulate the data on the form.
Bellow I will explain the step by step how to create this form and the workflow to manipulate it. It's necessary some coding behind the form, in order to control the default view of the form.

06 July 2010

How to easily find the internal names of the columns

In order to use some Web Services of SharePoint methods, like UpdateListItems, we usually need the columns internal names. How is the best way to find this internal names? There are some ways. I usually used the Web Service Response from the same UpdateListItems method, because it returns the internal names of the columns as attributes on the XML (with an ows_ in the beginning of the attribute).

I also found this nice post on the SharePoint Tricks and Tips Blog:

OK, but is there a simple way to do it? In my opinion, yes, there is. I do it without using an external application, just using Nintex.


02 July 2010

How to get the delegated user of a task

The current build of the nintex workflow 2007 (11004) isn't capable to get the delegated person by itself. Explaining better this scenario, the idea is to know when a User Task (e.g.: Flexi Task or Approval) is sent to a specific user, but this user have delegated all of his tasks using the task delegation from Nintex.

After searching for many days for a solution, I found a way to solve the problem. On this post I will show how is possible to get the user name of a delegated user. But one question before I start: Why do I need that? Well in my case, I needed the user name for 2 reasons:
  • Update a list collum with the name of the user who handled the task;
  • Give this user permissions on the List Item;
In my scenario, I was blocking the permissions for specific users, as a requirement of the Workflow. In order to give the delegated users correct permissions to view or modify the List Item, because for the workflow, just the original approver have permission, not the delegated. Just to clarify, I'm not talking about the task itself, the delegated user for who the task is assigned, get the permission to the task automatically from the workflow.
OBS: The approach described here don't works for direct task delegation on the action, it just works if the user delegates all of his tasks. A good example of how to handle a directly delegated task can be found here:
http://connect.nintex.com/files/folders/wflowactions/entry436.aspx


Below the workflow is explained step by step.