Skip to main content
Nintex Community Menu Bar

K2 HTML5: "The line 'DefaultLine 21' needs to be connected to an Activity" error appears

  • February 16, 2021
  • 0 replies
  • 74 views

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • 652 replies
 

K2 HTML5: "The line 'DefaultLine 21' needs to be connected to an Activity" error appears

kbt152201

PRODUCT
K2 Five
BASED ON
K2 Five (all)
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.

Issue

 

"The line 'DefaultLine 21' needs to be connected to an Activity" error appears:

Image

 

 

Symptoms

This is caused by orphaned values in the HTML5 json schema. To test this, please run the following SQL script:

USE [K2] --todo:Change to K2 DB name
GO
 
SELECT [P].[Name], [P].[JsonId], [C].[Id], [C].[SessionId] FROM [Designer].[Process] AS [P]
INNER JOIN [Designer].[CollabData] AS [C]
ON [P].[JsonId] = [C].[SessionId]
WHERE [P].[Name] = 'TestTest' --todo:Change to workflow full name
AND [C].[SessionId] = [C].[Id]

 

Resolution

If you deployed recently, and made very minimal changes (or no changes), open K2 Designer and navigate to your workflow.

Image

Click on "Delete" and select YES on the confirmation:

Image

Note: The icon of the workflow will change after the delete:

Image

Edit the workflow using the K2 Designer and deploy again.

Image

Image

 

Translate
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings