I use Composite Query and Tom is absolutely correct. I created a very large one that would always time out on me. However, as of PeopleTools 8.60, you can now schedule Composite Query:
In PeopleTools 8.60, PeopleSoft Query introduces the Composite Query Scheduler, which is used to schedule a composite query to run in the PeopleSoft Process Scheduler.
You can search for an existing run control ID or create a new run control ID and schedule a composite query using the Schedule Composite Query page, check the status of your request using the Process Monitor link, and view your output using the Report Manager link.
I can now schedule my Composite Query and not have to worry about it timing out. So if you run into that issue, you have this option available.
------------------------------
Daniel Labrecque
Senior 2 Business Systems Analyst/Functional Architect
University of Nevada, Las Vegas
------------------------------
Message from the HEUG Marketplace:------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the
HEUG Marketplace.
------------------------------
Original Message:
Sent: 01-24-2025 01:50 PM
From: Tom Johnson
Subject: UNION ALL
Hey Audrey - As an alternative to using a Union, or creating a new view, you could also use the Composite Query tool. This tool allows you to create a single data source, pulled from other 'base' queries built in Query Manager. It accomplishes many of the things you need to do with a Union, and (in my experience) it runs pretty quickly.
Here are a couple of notes on Composite Query.
- Navigation = Main Menu> Reporting Tools> Composite Query> Composite Query Manager.
- You will need to have security for this functionality - we used the delivered Roles Composite Query Developer or Composite Query User.
- The learning curve for Composite query is not too steep. There are a set of little things to know, but those are documented in a variety of presentations and PeopleBooks.
- The biggest difference for me is that the regular, 'base' queries cannot have prompts. You add the prompts at the Composite Query level.
- I like to think of Composite Queries as data sources, similar to what we build with BI Publisher.
Good Luck, and I am happy to answer more questions...
------------------------------
Tom Johnson
Sr Business Systems Analyst
Duke University
tom.johnson@duke.edu
"None of us is as smart as all of us"
------------------------------
Original Message:
Sent: 01-24-2025 11:10 AM
From: Daron Wild
Subject: UNION ALL
I would probably create a new view within Application designer that does all the joins/ unions, then add that view to the Query Tree security, then write the PSQuery using the new view.
------------------------------
Daron Wild
Senior PeopleSoft Developer
University of Cambridge
------------------------------
Message from the HEUG Marketplace:
------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the HEUG Marketplace.