Last updated 2 years ago
This method allows you to cast any value to the appropriate type in Java for the property passed in. The entity argument can be the entity name or an entity object.
entity
This function returns the value casted to the right Java type
baseService.autoCast( "User", "createdDate", arguments.myDate );
Key
Type
Required
Default
Description
string
Yes
The entity name or entity object
propertyName
The property name
value
any
The property value