Home > Forum > General > Report with previous user's tasks

Report with previous user's tasks
0

I have request from business to create report that will be showing all instances , which current logged user had task to do in the past. Some user can have more than one task in workflow. Is it possible to prepare such report and in SQL filter make a join statement similiar to this:

SELECT * FROM
(SELECT *,
ROW_NUMBER() OVER(PARTITION BY [WFD_ID] ORDER BY WFD_ID DESC) rn
FROM [BPS_ConfigProd_Content].[dbo].[WFElements]
LEFT JOIN WFElementTasks  ON WFElementTasks.WFT_WFDID=WFD_ID  WHERE WFT_USER='user login'
) AS tbl
WHERE rn=1

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.