0% found this document useful (0 votes)
1K views1 page

Query To Get BPM Approval History

This SQL query selects distinct fields from three tables related to workflow tasks, assignees, and task history. It filters for tasks with a title like "TGF GRANT - Grant Facesheet%" and joins the tables on the task ID field. The results are ordered by task number and version ascending.

Uploaded by

sankalpthakur123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views1 page

Query To Get BPM Approval History

This SQL query selects distinct fields from three tables related to workflow tasks, assignees, and task history. It filters for tasks with a title like "TGF GRANT - Grant Facesheet%" and joins the tables on the task ID field. The results are ordered by task number and version ascending.

Uploaded by

sankalpthakur123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

SELECT distinct fwt.

tasknumber,
fwh.CREATOR,
fwh.approvers,
fwh.ASSIGNEES,
fwh.assigneesdisplayname,
fwh.assigneddate,
fwh.outcome,
fwh.version,
fwh.VERSIONREASON,
fwh.WORKFLOWPATTERN,
fwh.title,
fwh.IDENTIFICATIONKEY,
fwh.PERCENTAGECOMPLETE
FROM
fa_fusion_soainfra.wftask fwt
, fa_fusion_soainfra.wfassignee fwa
, fa_fusion_soainfra.wftaskhistory fwh
WHERE
1 =1
AND fwt.taskid = fwa.taskid
AND fwt.taskid = fwh.taskid
AND fwt.title like 'TGF GRANT - Grant Facesheet%'
ORDER BY
fwt.tasknumber,fwh.version asc

You might also like