News.
Notes on what we’re building and what we’ve learned.
I turned every Dynamics 365 case into a bean
Case World shows every open Dynamics 365 case as a small character walking round an office, one room per stage, with its status and SLA on show. You can tap one and ask it about itself.
Putting REST APIs into Dataverse with BrokerForge
From an OpenAPI definition to working virtual tables, forms, views and actions, without building a new connector for every API. BrokerForge 0.1.0 is now on GitHub.
DataverseToCode: your Dataverse schema as code
A VS Code extension that keeps tables, forms, business rules and scripts as small files in Git, shows you exactly what will change before you push, and releases to test and production as managed solutions.
Meet Agent Bob: an AI assistant inside K2
A small language model running on our own server, built into K2 SmartForms. It analyses data and documents and answers questions about databases in plain English, without a single token leaving the network.
We built a metro map for SQL Server
Data Underground shows live SQL Server activity as a metro map. Databases are lines, tables are stations and every running query is a train.
We gave our K2 workflows tiny legs
Workflow World turns live K2 process instances into animated office workers. Bottlenecks become crowded rooms and errors call an ambulance.
From SmartForms to smart insight: chart controls for K2
K2 already holds the data behind your approvals and casework. Chart controls built on the K2 JavaScript framework put that data in front of people at the moment they make a decision.
K2 SmartForms with GOV.UK Design System controls
Combining K2’s process strengths with JavaScript controls built on the GOV.UK Design System gives government teams forms that are accessible, consistent and familiar, without changing platform.
BOAT is here: what Gartner’s new automation category means
Gartner now groups workflow, RPA, integration, AI and low-code under one category: business orchestration and automation technologies. We have been building this way for years with K2, Azure AI and UiPath.
Building trust through process visibility in government
When procedures live in emails, spreadsheets and people’s heads, accountability suffers. How structured discovery and Nintex Process Manager make work clear, governed and auditable.
Rethinking accounts payable with AI and automation
How AI document processing, low-code workflow and live reporting took the manual work out of invoice processing for a large public sector finance team.
Doing more with less: low code, process mapping and agile together
Each of the three saves time and money on its own. Used together, they let you automate the right things, build them quickly and deliver value from the first sprint.
From the archive.
Building a workflow with K2 Five
A step-by-step walkthrough of building a simple annual leave workflow in the new K2 Five designer, then wiring it up to SmartObjects and SmartForms.
Keeping track of emails with EWS and K2
How I used Exchange Web Services and extended properties to send emails from a K2 workflow and then find them again by process instance, serial number or business key.
Slack and simple K2 integration
The first step in integrating K2 with Slack: an incoming webhook, a small endpoint assembly and a SmartObject that lets a workflow post task notifications into Slack.
Testing a workflow inside a SmartForm
My attempt at a no-code workflow testing tool built entirely in SmartForms, with a look at the reflection code underneath that makes it work.
Workflow testing
More examples of unit testing a K2 workflow from start to finish, using the K2 API and Visual Studio’s testing framework.
K2 Management Portal: using the K2 Scheduler
K2 4.7 brought a new management portal, and with it the ability to schedule workflows without writing your own Windows service. Here’s how to find it and set up a schedule.
Testing SmartForms with the SmartForms Tester in K2 4.7
Hidden away in K2 4.7 is a tool for automating SmartForms tests. I walk through finding it, building a test suite and a simple test script, and running it.
Bill’s tasking workflow pattern
A colleague, Bill Irvine, came up with a pattern to standardise how tasks are built in K2. This is my take on it: a generic tasking workflow driven by a task library, so actions can be changed without touching the workflow.
How to: the For Each event
People kept asking me how to use the For Each event in K2, so here is a quick demo: looping through a list of subscribers, then using a reference and line rules to skip items that are already done.
Using the new REST broker
K2 4.7 finally lets you use REST services without writing wrapper code. Here’s how to get a Swagger definition, register it with the REST broker, and how K2 Framework helps manage the definitions.
Unchaining workflows with a framework, part 1
How to free a K2 workflow from its data, so forms, email content, escalation times and business rules can change without redeploying. This part sets out the framework and how to wire a workflow into it.
Best practice for developing K2 apps
The naming conventions, control standards, rule patterns and workflow and SmartObject checks I use on every K2 project.
Unit testing in K2
While researching workflow testing for a client I found an old white paper on unit testing K2 processes with Visual Studio. This covers the setup, a helper framework, best practices and example test scenarios.
Building a K2 SmartForm spider
A six-part series, now in one place, on using the SmartForms API to see which forms, views, SmartObjects and workflows make up a solution, and turning that into an endpoint assembly and a set of SmartForms.
Giving views the power in K2 SmartForms
Named rules mean a SmartForms view can carry rules that aren’t tied to any event. Here’s how to build a view with unbound rules and fire them from a form.
Dropbox, K2 and IFTTT too
A look at the new K2 Dropbox broker: setting up a Dropbox app, registering it with K2, what the SmartObjects do, and a demo that brings IFTTT into the mix.
Why developers shouldn’t be afraid of no-code platforms
Developers often panic when they see a purchase order form built in 15 minutes without Visual Studio. I don’t think no-code platforms will take their jobs, and here’s why.
Internet of Things and K2 too
Connected devices are sending us more and more data. This post looks at how K2 SmartObjects and endpoints can talk to robots, sensors and health trackers and act on what they send.
Building apps on Office 365 should be like Lego, not Meccano
Building apps that span Office 365 and on-premises systems is often fiddly. I look at how K2 Appit’s forms, workflow and data building blocks make it more like snapping Lego together.
SMS messaging with K2
An open-source SMS service for K2 that sends and receives text messages, starts workflows from hashtags and lets people action tasks by replying to a text. This covers setup and use.
Building an endpoint assembly for K2 blackpearl
K2 can talk to DLL assemblies, which brings your own code straight into SmartForms and workflows. This is a step-by-step guide to writing one in C# and registering it with K2.
Connecting Lego Mindstorms to K2 blackpearl
K2D2: how I used an endpoint assembly and a .NET Mindstorms API to let K2 SmartObjects, SmartForms and workflows drive a Lego robot.