You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get workflow task history for Purchase Requisition (SQL Query)

Accepted answer
45
Views
2
Comments

Summary:

I need help to understand how can I get the WF task history to Purchase Requisition. I am trying to use the query below:

Content (please ensure you mask any confidential information):

SELECT
W.CREATEDDATE,
W.CREATOR,
W.UPDATEDDATE,
W.UPDATEDBY,
W.ASSIGNEES,
W.ASSIGNEESDISPLAYNAME,
W.APPROVERS,
W.VERSIONREASON,
W.STATE,
W.OUTCOME,
W.STAGE,
W.PARTICIPANTNAME,
W.ASSIGNMENTCONTEXT,
W.COMPOSITEVERSION,
W.ACTIVITYID,
W.TASKDEFINITIONNAME
FROM FA_FUSION_SOAINFRA.WFTASKHISTORY W
WHERE W.IDENTIFICATIONKEY IN
(SELECT TO_CHAR(REQUISITION_HEADER_ID) FROM FUSION.POR_REQUISITION_HEADERS_ALL
WHERE REQUISITION_NUMBER = 'XXXXXXXXX')
ORDER BY
W.UPDATEDDATE DESC

Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!