Hi,
The task serial number comprise of two components, the process instance ID and the activity instance destination ID. You shoud notice the serial number is in the following format: XX_YY
XX refers to the process instance ID
YY refers to the activity instance destination ID
You can run the following query on your K2 database to retrieve list of actions that the user is allowed to perform on the task:
SELECT [ActionName]
FROM [Server].[ActionActInstRights]
WHERE [ProcInstID] = <Process Instance ID> AND [ActInstDestID] = <Activity Instance Destination ID>
Can this be done by using SmartObjects? Or do we have to create a Smartobject for the K2 database?