I have a script that has the following params
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string]
$asset,
[Parameter(Mandatory = $false)]
[string]
$SNRITMNumber,
[Parameter(Mandatory = $false)]
[ValidateSet("Dev", "Test", "Prod")]
[string]
$SNEnvironment = "Prod",
[Parameter(Mandatory = $false, HelpMessage = "")]
[switch]
$TestMode,
[Parameter(Mandatory = $false, HelpMessage = "Free-form payload (object or string) forwarded from the API caller.")]
[object]
$Data
)
When you run the job i had data in the $Data object which shows up under the job history params but when you click rerun job that data doesnt get populated
5eae9a59-89c8-4923-a978-639bd3157cf5.png
@michaelhanson1458 Definitely a bug. Likely due to the type being object. I've open an issue to track this.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Hello,
The fix has been implemented in the latest 2026.2.3.0.
Let us know if that works as expected.
Best regards,
Érica Poirier