I will of course keep looking for an answer for this and will close if I find one. But I have a simple requirement that is proving hard to achieve!
In USD I have an action that creates an entity. Works fine, until I try to assign a date value to a field.
I am pretty sure the format of the date is wrong. And I guess I might need a scriptlet to format correctly. But I can't find an example of how the date needs to be formatted.
On an action call for Global Container, with action as CreateEntity. I have the following;
LogicalName=<<an entity >>
new_starttime=[[$Session.StartTime]g]
new_text=[[$Session.StartTime]g]
The fields "new_starttime" is a datetime field. "new_text" is text.
new_starttime gives an error in the debugger.
new_text is correctly set to the date and time the session started.
Does anyone know how to set a date in this situation?