Workflow updating list / Library column that should not be updated

  • 16 February 2021
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

Workflow updating list / Library column that should not be updated

kbt147915

PRODUCT
K2 Cloud
K2 Five
BASED ON
K2 Cloud (all)
TAGS
Workflow Designer
SharePoint
SmartForms
Workflow
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

In some cases, workflow update list / library wizard will update a column value even if it's not checked to update.

 

Symptoms

Column values are cleared when the workflow executes the update list / library events. This can also occur when using update methods on lists / Libraries from within SmartForms.

 

Resolution

This is not a K2 issue, this is default behavior of SharePoint. If the column is configured to "Append changes to existing text"

 

Image

 

 

To reproduce this issue with only Sharepoint:

Create a list in SharePoint with no K2, just add a 'Multiple line of text' column to the list and enable the "Append Changes to Existing Text" option. Add an item and provide a value, look at the version history to make sure it is updated. Now edit it and only change the title. Looking at the Version history and note the other column is also updated.

Workaround

To fix this you have to disable the 'Append Change to Existing text' option. If that is a requirement for your solution then the only other option is to populate the column in all the wizards with the previous value, otherwise Sharepoint will pass empty values as an update.

 


0 replies

Be the first to reply!

Reply