<< Click to Display Table of Contents >> RayFlow PowerShell API > 7.3 > Implementation Guide > Cmdlet Reference Update-RayFlowTaskDataField |
Changes the value of a data field.
Name |
Type |
Mandatory |
Description |
Task |
PsRayFlowTask |
Yes |
The target task. You can get this task by invoking the Get-RayFlowTask command let. |
DataField |
String |
Yes |
The name of the datafield to be changed. |
Value |
String |
Yes |
The value of the datafield to be changed. |
The value in parameter Value is always a string, but will be parsed accordingly depending on the type of the datafield. For example:
•For boolean types you can write True or False to indicate the new value.
•Options and multi-select options can be specified using their display names or unique identifiers.
•For the date-time field it should be RFC-compatible representation of a date.
Type |
Description |
PsRayFlowTask[] |
A updated task object, where the new value of datafield is already reflected. |