Overview

This sample demonstrates how to pass data between automations using package variables. In this example, a set_variable activity inside the child package creates an output variable based on user-provided input. That output is then retrieved and utilized by the parent package.

Want to know more about the activities used to achieve this, see below:
Start Package Activity | Knowledge @Pia
Package Editor | Knowledge @Pia

Download this sample into your sandbox and use this as a reference to fit your specific automation needs.

More PiaPacks

User Management Sample (Blueprint)

Activity Collection for Active Directory

By Pia 30 Dec 2025
Provides a sample of Active Directory automations which are used within our pre-built automations, allowing you to customise and build your own packages without starting from scratch.
User Management Extension Automation

Add User to Groups for Offboarding

By Pia 29 Oct 2025
Automatically adds users to configured Microsoft 365 groups during automation workflows, eliminating manual steps. Enhances efficiency, prevents missed configurations, and supports seamle...
User Management Smartform
trending-heart

SmartForms: Add/Remove Access to Groups

By Pia 10 Apr 2026
This SmartForm enables self service group access management, reducing service desk tickets, accelerating changes, improving client control, and allowing engineers to focus on complex valu...