Hi,
I have found a document that might be usefull regarding smartObject method parameter, please find the link below:
https://help.k2.com/kb001315
Note: The statements and opinions made in my postings are my own, and do not reflect the opinions of K2. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
Hello,
The following documentation explains a little bit more about SmartObjects, as well as what kind of SmartObjects exist out of the box based on their Service Instance.
https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#ServiceBrokers/SmartObjectTerminology.htm
None of this documents what the expected parameters are for each smart object call. Take MSDN for example, each class has methods that take parameters and they provide documentation for how those are intended to be used e.g. https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
Smartobject: System > Management > Users > SmartObjects > Task > Methods > RedirectWorklistItem
Parameters: ActionerName, Destination, ProcInstID, ActInstDestID, ID
What does the "ID" parameter above do? Where should you get it from? Please point me at the documentation for the RedirectWorklistItem smart object call that gives this information.
Hi there,
It looks like there might not be any documentation that covers the SmartObject methods in the management category. However, I did find the same information in the methods from the Workflow Management Server API. See: https://help.k2.com/onlinehelp/k2blackpearl/DevRef/4.7/default.htm#../Subsystems/Runtime/Content/topic14414.html.
Specifically it looks like the ID the SmartObject call is looking for is the Worklist Item ID. You can find this if you run the GetWorklistItems method, but also seems to be the ID of the item in the Server.WorklistSlot table.