BookmarkSubscribeRSS Feed

SAS Studio Flows: Adding Status Handling

Started ‎03-13-2026 by
Modified ‎03-13-2026 by
Views 183

As of the LTS 2025.09 release, you can use the status handling feature to send the flow status to a specified table after the flow is finished running.  Note: Status handling is available only if your site licenses SAS Studio Engineer.

 

To add status handling to a SAS Studio flow, select MK_icon1_StatusHandling.png on the right-hand side of the flow to open the Status Handling properties pane.

 

MK_1_StatusHandling.png

Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.

 

 

Click MK_icon2_StatusHandling.png to add a condition to the Status Handling properties.

 

MK_2_StatusHandling-1024x792.png

 

On the Condition and Action Details dialog, select the library and table name to which you want to write the flow status.

 

MK_3_StatusHandling.png

 

Note: The only condition is Flow status and the only action is Send to table.

 

The condition and action are now part of the Status Handling properties for the flow.

 

MK_4_StatusHandling-1024x784.png

 

When this flow is executed, the status of the execution is written to the specified status table.

 

MK_5_StatusHandling-1024x248.png

 

Other columns written to the status table that are not pictured are:

 

  • flow_start_time
  • flow_end_time
  • flow_elapsed_time
  • viya_release
  • viya_version.

 

Note: The SYSCC automatic macro variable is evaluated at the end of the flow execution to determine the overall run status of the flow. A value of 0 indicates a successful execution. SYSCC is global in scope and reflects the highest severity of any issue that is encountered during the flow execution. In rare cases, the value of SYSCC can be 0 even when other diagnostic automatic variables, such as SYSERR, SYSFILRC, or SYSRC, are set to nonzero values for warnings or errors in a step or program statement.

 

If the flow is executed again, the status of that execution is appended to the specified status table.

 

MK_6_StatusHandling-1024x248.png

 

 

Summary

 

You can write the status of an execution of a SAS Studio flow to a table.  For more information, refer to the documentation on Adding Status Handling to a Flow.

 

 

Find more articles from SAS Global Enablement and Learning here.

Contributors
Version history
Last update:
‎03-13-2026 10:54 AM
Updated by:

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags