replied on February 11, 2022
Okay, I was able to get what I needed with SQL. Hopefully it can help you too.
-- SQL to find forms that were reassigned for a given step
SELECT
cbwi.bp_instance_id AS FormNumber
-- ,cf.process_id -- I just looked through the [cf_bp_main_instances] table to find the bp instance id for my forms process I wanted to look at.
-- ,cf.step_id -- You can get this from the upper right corner in the business process flow inside the forms designer
,CONVERT(NVARCHAR, cf.task_first_assigned_date, 101) AS TaskFirstAssgnd
,CONVERT(NVARCHAR, cf.due_date, 101) AS DueDate
,CONVERT(NVARCHAR, cf.finish_date, 101) AS FinishDate
,cf.[status]
--,cf.owner_snapshot_id
,cus.username AS OwnerUserName
,cf.assigned_comment
--,cf.target_snapshot_id
,cus1.username AS TargetUserName
--,cf.team_id
,T.[name] AS TargetTeamName
FROM LF_Forms.dbo.cf_bp_worker_instance_history cf
LEFT JOIN cf_user_snapshot cus -- Pulling in the Username of the person who originally had the tasks
ON cf.owner_snapshot_id = cus.id
LEFT JOIN cf_user_snapshot cus1 -- Pulling in the Username of the person who the task was reassigned to
ON cf.target_snapshot_id = cus1.id
JOIN cf_bp_worker_instances cbwi
ON cf.instance_id = cbwi.instance_id
LEFT JOIN teams t ON cf.team_id = t.id
WHERE cf.[status] LIKE 'reassigned'
AND cf.process_id = 33 -- This needs to be changed to the process ID you are looking for
AND cf.step_id = 40 -- This should be changed to the step you want to look at
ORDER BY FormNumber