Rerun job not populating [object] types

Rerun job not populating [object] types

avatar

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

All Comments (0)