Code Fix: Old K2 Workflow Task name in the K2 SmartForm gets overwritten

  • 16 September 2022
  • 0 replies
  • 19 views

Badge +4

Issue Description

When a new task is created the old K2 Workflow task name in the K2 SmartForm Rule Action gets overwritten.

Considerations

There is an entry that needs to be set to true in order for the old task not to be replaced by the new task.

  • Location of the file that needs to be edited: [K2 install folder]/K2Designer/Web/K2DesignerHost/configs/environments/environment.config.json
  • Once the file is opened look for:

"activityNamingStategy": {

"random": false

},

  • Set the value to true and clear the cache of the browser.
  • This will leave all old rules of tasks in the forms rules designer.

Resolution

The fix is available in:

 

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.

0 replies

Be the first to reply!

Reply