Skip to main content


 

Symptoms


_1
While working through the tutorial (https://www.youtube.com/embed/bqxJLXXT7y0) for Create Reference event and For each loop, ran into an issue when attempting to Count(ItemReference.ID). This always returned only 1 item.

_2
Also, when attempting to create a Package and Deployment from this process results in the following error:

'K2Project1Process' Process is referencing the return type '{kdselectedmethodtype}' of the 'GetList' method on the ''SmartobjectName]' SmartObject that could not be found.
 

Diagnoses


Both behaviors were reproducible and were confirmed as bugs.
 

Resolution

A coldfix was provided to resolve the issue. If you are experiencing this issue, please log a ticket to request the coldfix. To apply the fix:

** Please check the coldfix file to confirm if it is blocked and "Unblock" if applicable before application

The coldfix will need to be applied on the K2 components below:
1. Client machines
2. Host Server machine

Instructions:
1. Stop HostServer and Client applications (K2 Designer, K2 Studio, K2 for Visual Studio)
2. Backup the assembly that will be replaced to a different directory (SourceCode.Workflow.SmartWizards.Framework.dll)
3. Apply assembly in location specified below
4. IIS Reset
5. Start HostServer

File Path: hProgram Files]K2 blackpearlBin
File Names: SourceCode.Workflow.SmartWizards.Framework.dll

File Path: Global Assembly Cache GAC
File Names: SourceCode.Workflow.SmartWizards.Framework.dll

NOTE: uninstall the assembly from the GAC before applying the coldfix assembly.

If it can't uninstall, remove it from the registry and then uninstall it.
Path: - HKEY_CLASSES_ROOTInstallerAssembliesGlobal

6. After the application of the coldfix, please re-run through the "Create Reference" wizard AND also delete and recreate the Count(Newsletter Subscribers List Reference.ID) function
7. Re-deploy and retest.




 
Be the first to reply!

Reply