Friday, October 21, 2011

Introduction to K2 Blackpearl

Introduction:
K2 blackpearl helps people create or amend process-driven applications through wizards and other graphical tools; and in most cases, no code is required. This simplicity and familiarity allows non-technical users to actually design, build and change these applications, rather than just trying to convey their needs to IT.
K2 Architecture:
The overall K2 architecture includes Microsoft components and K2 blackpearl-hosted server components. Depending on the role a server plays in the deployment, all or some of these components will be installed. At a high level, the K2 blackpearl Server uses common Microsoft components, such as the .NET 3.5 Framework with SP1, which includes Windows Workflow Foundations (WF) and Windows Presentation Foundation (WPF).
Sample Example:
Let us develop a multi level approval workflow in K2 Studio or K2 Designer. (In my next article I will show the process of development)
Test the K2 Workflow in SharePoint Site:
Once the development is ready we can deploy the K2 workflow project into a SharePoint List. So in the SharePoint List, we will create a new item and verify the workflow steps.
Step 1: Follow the below screen shot for below points.
·         First we created a new item in Site Access Request List and then the workflow process started automatically.

·         Now the workflow status will be In Progress and pending with the Manager.

You can see K2 Worklist web part which shows the current tasks assigned to corresponding users. Here you will also get context menu where you can take action for each task item.

·         Now Manager will login and she can able to see her Task in the K2 Worklist. She can take action by clicking on ‘Open’ or ‘Action(s)’ menu.



Step 2: Manager opened the item and approved the item.
Step 3: Now the task will be pending with Director.


You can also watch the current flow of workflow process by clicking on ‘View Flow’ of the Task item in K2 Work list.

Step 4: Director opened the item and approved the item.
Step 5: Now the workflow process has been completed and you can verify the SharePoint Task List.


Step 6: You can also verify the flow diagram of the item workflow process.
Step 7: Finally you can see the workflow status of the list item.
Conclusion:
K2 provides all types of event which you can use in the workflow process to interact with SharePoint, SQL Database etc. So we do not require writing any code even if it will be complex business requirement.



Links:

No comments:

Post a Comment