How to check start time of a set and order of its sub requests (stage) via SQL script?

Hi,
I have a Concurrent request set that contains several sub requests or stages. in some occasions users need to change the order of the sub requests (starting a sub request that normally starts in the middle of the set [stage 50] instead of the first sub request [stage 5]) but some times they don't reset the concurrent request set and when it runs again it starts at wrong stage and causes a lot of issues.
Therefore, I need a sql script to check the starting time of the set and starting stage/ sub request to make sure it would run currently.
Any help or advice would be appreciated,
kmsadr
kmsadrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sdstuberCommented:
please provide table structure and sample data with expected output from that sample data.
0
kmsadrAuthor Commented:
sdstuber,
I was using FND_CONCURRENT_REQUESTS but I couldn't get any information on sub-requests under the concurrent request set yet. I'm still looking for correct table to use.
I'm not sure how can I provide the sample data. But my ideal output data will be some thing like:

Concurrent_Name is scheduled (or pending) to run at 20:30:00 with sub_request_name as its first stage.
Kmsadr
0
kmsadrAuthor Commented:
I found the answer to my own question:
FND_REQUEST_SETS.start_stage would have to be joined with FND_REQUEST_SET_STAGES_TL.request_set_stage_id and FND_CONCURRENT_REQUESTS

Regards,
kmsadr
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.