Welcome to the Synergy Technical Blog and Technical Knowledge Base – a resource that shares intelligent and creative solutions that have been built and implemented on real-time projects on behalf of Velocity clients.

K2 blackpearl

K2 Workflow Event Wizards: Configuring Destination Users of an activity

K2 WorkFlow Event

One of the most important components of the K2 Workflow is the ability for Users to interact with workflow items. This is accomplished by creating tasks for Users to interact with. While we have already focused on the ability to create tasks, in this blog, we will be focusing on whom we are creating these tasks for. We call these Users, Destination Users.

First we’ll need a Workflow Activity. A Workflow Activity is a container for K2 Workflow components. Drag-and-Drop an event from the toolbox onto the K2 Workflow Designer, the event will automatically be placed inside a Workflow Activity.

Read More
K2 blackpearl

SQL User Impersonation with K2

SQL User Impersonation with K2

SQL Server impersonation, or context switching, is a means to allow K2 to assume the permissions of a given user or login when executing your SQL queries. Under the covers this functionality makes use of K2 Pass-through Authentication.

To enable SQL Server impersonation you first need to register the SQL server service instance, by right-clicking on the ‘SQL Server Service’ in the ServiceObject Explorer, and then select ‘Impersonate as your Authentication Mode, as indicated in the screenshots below:

1 Register a new SQL Server Service Instance in K2

1 Register a new SQL Server Service Instance in K2

Read More
K2 blackpearl

How to display dynamic HTML Web Content in K2 SmartForms

With the K2 Workflow process, we have found that a large percentage of clients at some point request to have a visual representation of the Workflow within their application. By using a combination of K2 SmartForm features we can accomplish this.

HTML Web Content in K2 SmartForms

K2 SmartForms – Dynamic Web Content – 1

Read More
K2 blackpearl

K2 Workflow Event Wizards: Configuring the Start Rule of an activity

When working with K2 Workflow components, it is often necessary to specify when a K2 Workflow component may execute. We can control the time of execution, by configuring what is called a “Start Rule”.

In today’s blog, this is exactly what I’ll show you how to do. First we’ll need a Workflow Activity. A Workflow Activity is a container for K2 Workflow components. Drag-and-Drop an event from the toolbox onto the K2 Workflow Designer, the event will automatically be placed inside a Workflow Activity.

Figure 1 - Default Workflow Activity

Figure 1 – Default Workflow Activity

Read More
K2 blackpearl

K2 SmartForms Rule Interaction

K2 SmartForms Rule Interaction

When working with any K2 SmartForm project, you sometimes find that pieces of functionality mimic another or call the same procedures.

In K2 you can’t physically copy and paste rules, but you can execute one rule from within another rule.

This is really convenient when you have to execute the exact same set of conditions / functions from multiple control interactions, and it also makes later changes a lot simpler since the change needs to be done in only one place. When you need something extra to be done that the “base rule” doesn’t take care of you can just piggy-back it before or after the referenced rule as needed.

Read More
K2 blackpearl

K2 Workflow Event Wizards: Creating Preceding Rules

K2 Workflow Event

When working with K2 Workflow components, it is often necessary to satisfy a specific condition before an K2 activity is allowed to plan. We can control the flow through our K2 Workflow components in this way, by creating what is called a “Preceding Rule”.

In today’s blog, this is exactly what I’ll show you how to create.

First we’ll need a Workflow Activity. A Workflow Activity is a container for K2 Workflow components. Drag-and-Drop an event from the toolbox onto the K2 Workflow Designer, the event will automatically be placed inside a Workflow ActivityFigure 1 - Default K2 Workflow Activity

Figure 1 – Default K2 Workflow Activity

Read More
K2 blackpearl

Fixing the K2 SmartForm ListView Internet Explorer 8 Bug

When you create a list view in K2 SmartForms, to which one can add rows, and which contain Text Boxes, you might notice a bug when viewing the form through Internet Explorer 8.

This bug occurs intermittently dependent on the exact configuration of your list view. The bug manifests as follows: When you add a second row to the list view, the text boxes from the first item disappears. This bug is indicated in the screenshot below:

Read More
K2 blackpearl

Registering a new SQL Server K2 Service Instance and generating associated K2 SmartObjects

The K2 SmartObjects available in the K2 Designer are usually associated with Data Sources registered via the SmartObject Services Tester.

In this blog I’d like to show you not only how to register a new SQL Server Service instance using the K2 SmartObject Services Tester, but generate the associated K2 SmartObjects as well.

For the purposes of this blog I have created a new Database in SQL Server called CompanyDatabase and created three associated tables i.e. Customers, Products and Invoices.

sql server service k2

Figure 1 – Example Database

Read More

Please complete the below form and a member of the Velocity IT team will call you back.



INSTANT ESTIMATE