Hi js2,
You may use the K2 out-of-the-box reporting smartobject 'Activity Instance Audit' (SmartObject service tester > All SmartObjects) to view the history of all Task redirection or delegation.
K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
Thank you for your response. The Activity Instance Audit does not provide the complete picture. There is no way to learn who the task was delegated to without parsing the ‘Audit Description’ field. Additionally, it does not show any detail, if the task is not delegated.
I am looking to find the entire task history.
For example, for a given process:
- Task was delegated
- Original User
- New User
- Without parsing an audit field
- Date & Time of delegation
- Task was not delegated
- Which AD account was it assigned to
- When was the task assigned
- When was the task completed
Hi,
Maybe, this SQL query can help you figure out if the current task was originally assinged to a user or of it was later re-directed/delagated to other user.
Use K2
SELECT DISTINCT
TOP (1000) Server.ActionActInstRights.ProcInstID, Server.ActionActInstRights.ActID, Server.ActionActInstRights.ActInstID AS Expr2,
Server.ActionActInstRights.ActInstDestID, Server.ActionActInstRights.ActionerID, Server.ActionActInstRights.[Execute], Server.ActionActInstRights.StartDate,
Server.ActionActInstRights.OriginatorID, Server.Actioner.ActionerName, Server.Actioner.Status, Server.Actioner.ActionerType
FROM Server.ActionActInstRights INNER JOIN
Server.Actioner ON Server.ActionActInstRights.ActionerID = Server.Actioner.ID
WHERE (Server.ActionActInstRights.ProcInstID = ???) ---replace ??? with Process instance ID, this can be obtain from server.procinst table
Thank you, Khanh.
The ActionActInstRights table does not appear to hold all of the completed ProcInstIDs. Where can we look to see all of the completed/active tasks in the system?
Why doesn’t K2 hold the Active Directory IDs if the task is not delegated to another user? For example, I assigned a task to User X and then User X completed their task. The table does not show who the task was assigned to. Rather, it show the service account associated with our K2 server.