K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Troubleshooting and Known Limitations

Troubleshooting & Known Limitations

The endpoint service brokers cannot be used with the following:

For .NET Assemblies, only public, static methods are supported. The service broker should not be used to replicate .NET programming through SmartObjects. The Endpoint broker is stateless; without state, everything is static. The purpose of exposing an assembly is to use existing business logic in .NET assemblies within SmartObjects. Creating new instances of .NET classes and objects and then using them within SmartObjects is not a valid scenario for the Endpoint service broker.

Pointing the Assembly to SharePoint.dll, for example, will expose the Site class. But creating a new site instance and then using that with SmartObject is not a valid scenario. However, pointing the Assembly to SourceCode.Workflow.Functions.dll is a great scenario for accessing the static methods available in Inline Functions via SmartObjects.

For example, if you try to use the service broker against SourceCode.Workflow.Client, many items will be missing because only static public methods are supported. 

 

Troubleshooting Tips

 

 

 

 

 

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)