I really want to push the topic of flows to the maximum (and develop the low‑code/no‑code approach). I’m already quite comfortable with flows, but I want to take things to the next level. I know there’s an issue with promotes that should be fixed in the next LTS release. I’m not sure if what I’m seeing is related to that.
My goal is the following: I take a detailed source table, aggregate it to produce a summary, and archive the daily results. My flow works perfectly when I run it manually, but it fails when it’s scheduled.
Here’s what I’ve done: I start from a detail table, run a query to aggregate it, and save the result in a CAS library. In that same library, I previously created an archive table with the same structure. Then I add a data step to insert rows. Finally, I add another query to work around the promote issue.
I believe everything is set up correctly. But when it runs automatically, it seems to start from scratch every time, as if the table generated by the row‑insertion step was never promoted.
Can you help me?
Hi YannRC, I would start by examining the log from the failed scheduled flow and compare it with the log from a successful manual run.
Maybe there is some difference in the Compute and Batch contexts that can explain why it fails when scheduled?
If you cannot figure out yourself why it fails I would recommend you contact SAS Technical Support, https://support.sas.com/en/technical-support.html
Open a Support case from the SAS Customer Service Portal or send an email to support@sas.com.
Hi YannRC, I would start by examining the log from the failed scheduled flow and compare it with the log from a successful manual run.
Maybe there is some difference in the Compute and Batch contexts that can explain why it fails when scheduled?
If you cannot figure out yourself why it fails I would recommend you contact SAS Technical Support, https://support.sas.com/en/technical-support.html
Open a Support case from the SAS Customer Service Portal or send an email to support@sas.com.
Thanks, i open a case because the 2 log are similar
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.