sql statement to get the performance document current task — Cloud Customer Connect
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

sql statement to get the performance document current task

Summary:

sql statement to get the performance document current task

Content (please ensure you mask any confidential information):

Hi Team,


I need these below two columns data in the bi report.

  1. Document Status
  2. Current Task

I am fallow this below query but I am not getting as expected. I am getting extra columns because of process flow id.

And which code do I need to take for "STEP_CODE"



Select

pn.DISPLAY_NAME Employee_Name,

tp.CUSTOMARY_NAME PD_Name,

trl.MGR_TASK_NAME,

trl.WKR_TASK_NAME,

REPLACE(REPLACE(REPLACE (REPLACE (STEP_STATUS,'COMP','Completed'),'NOTSTR','Not Started'),'INPROG','In Progress'),'READY','Ready') Task_Status,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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