Symptoms
K2 Application wrongly redirecting to K2 Config list
Diagnoses
When you navigate to an unpublished library and click on the "K2 Application". The page redirected to K2 Config list K2 Application page instead of Unpublished library K2 Application page.
Why does this happen?
Resolution
Open the designer and select the right category of the application
Get from the URL the Category ID
Go to the management page and execute 'SharePoint Integration Settings' Getlist method (pass the list display name to return the ID.
Take a note of the ID then execute 'Update' method of the same smartobject
Pass the ID and the categoryID
This should help resolve the issue here.