How to Set Arguments In OrChestrator for Type ——TimeSpan

We Can Set Arguments——TimeSpan such as 00:01:00 in studio .

When I Upload the Process To OC ,how can I set this variable.

I try to put in this sample to OC but failed。
( For arguments of type ‘TimeSpan’, a valid JSON must be provided)

{
“Hours”: 0,
“Minutes”: 4,
“Seconds”: 0
}

1 Like

Hi @Gao_Da,

Try this

{
    "Type": "System.TimeSpan",
    "Value": {
        "Hours": 0,
        "Minutes": 4,
        "Seconds": 0
    }
}

Hey @Gao_Da

Just pass it with double quotes "00:00:03".

Update the value as per your need.

Thanks
#nK

Thanks, I have tested the function and it’s OK.

1 Like

Thanks, I test this and it’s not effect.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.