+44(0)1908738254
YOUR EXPERT RPA PARTNER

Team up with our RPA strategy and tech specialists for maximum automation impact

Find out more
Harness the power of UiPath in your business.
WATCH NOW

Save money and spend more time on priority work.

Book consultation
READY, SET, AUTOMATE

Let's choose, design and deploy a process automation solution for your business.

Find out more
TRANSFORM YOUR BUSINESS

Let's analyse your business to discover opportunities for innovation and automation.

Find out more

Begin your business transformation journey

Book consultation
AUTOMATE EVERY FUNCTION

Automate where it matters most. Scale to solve challenges in every area

Find out more
GIVE EVERY TEAM THE TOOLS FOR SUCCESS

Equip people with user-friendly solutions that save time and make work easier

Find out more

Which business problem
can we solve first?

Book consultation
08 August 2016

How to use the K2 Worklist with the Data Fields and database columns using composite K2 SmartObjects

By using the K2 out-of-box worklist App or K2 SmartForm worklist control we generally can’t display K2 data fields and database column values in the K2 worklist, but we can develop a custom worklist to achieve this requirement.  This is useful when wanting to display additional context when the user view the K2 worklist.

K2 Automated Testing Software

BenchQA allows full test automation of K2, including fully automated K2 SmartForms and K2 Workflow testing. It promotes test driven development for K2 and ensures continued quality assurance for K2 solutions. Easily apply changes to test cases to accommodate changes to K2 apps and ensure all apps are regression tested to avoid defects and assure continuous quality.

 

Free K2 Five Upgrade Review

If the K2 worklist is simple and you have a requirement of displaying one or two workflows then you can achieve this by using composite K2 SmartObjects.

Here are the steps –

  • Creation of composite K2 SmartObject –
  1. Using K2 studio, create a new SmartObject method
  2. Add an activity instance destination service method (under the Workflow reports category) and List process instance method of your workflow SmartObject  (under workflow solutions)
1 K2 SmartObject Methods

1 K2 SmartObject Methods

  1. Map the properties for both K2 SmartObject methods
2 K2 SmartObject Method Mapping

2 K2 SmartObject Method Mapping

  1. Create a new service method link with link type as “matching values in both objects” and join both the objects on process instance id.

 

  1. If you would like to display your table columns then add one more service method and create an additional service method link.
3 K2 SmartObject Method Input

3 K2 SmartObject Method Input

  • Create List view
  1. Generate a list view from the composite smart object and select the properties you wish to display in the list view.
  2. On view executed initialize rule, Pass input parameters to destination and status as “current logged-in user” and “Active” respectively.
4 K2 SmartObject Relationship

4 K2 SmartObject Relationship

Now, the logged in user can see their available active tasks worklist with data fields and database columns.

5 K2 Worklist

5 K2 Worklist

Points to remember:

Composite Smartobjects will have an impact on performance, so this approach is recommended only if you want to create worklist for one or two workflows.

Users must have view permission rights on that specific workflow process.

Need further technical advice or support?