This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Objective

This article explains how to create custom code for workflows in K2 Five, since legacy features in K2 blackpearl are no longer available in K2 Five.

Before You Begin

The K2 legacy feature, K2 Studio is deprecated in K2 Five. This article explains how the same results can be achieved without K2 Studio.

How-to Steps

Please follow these steps:
1. You can achieve this by writing your own "services", and then using the "endpoint brokers" to wrap your code up in SmartObjects.
2. Next, call your "code" by executing the SmartObject methods. (See Management > Integration > Service Types for the "endpoint brokers".)

Browse though the following link for more info:
http://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#ServiceBrokers/EndPoints/EndpointBroker-Overview.htm?