Data Painter Function Issue
search cancel

Data Painter Function Issue


Article ID: 191252


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


While using the @string(date,dateformat)@ function in ARD, the function is not generating a 4 digit year using YYYY format. If i use the below function then i get an error


Exception: MetaFunctions : uf_process_function : Exception: MetaFunctions : uf_string : Exception Index and length must refer to a location within the string.
Parameter name: length Stack Trace:    at System.String.Substring(Int32 startIndex, Int32 length)
   at GT.TDMoD.Services.Common.GTCommon.IsDateTimeFormat(String ps_format, Int32& pl_date_format, Int32& pl_time_format)
   at GT.TDMoD.Services.Generator.MetaFunctions.uf_string(String ps_string, String ps_format) : Stack :    at GT.TDMoD.Services.Generator.MetaFunctions.uf_string(String ps_string, String ps_format)
   at GT.TDMoD.Services.Generator.MetaFunctions.uf_process_function(String ps_function_call)

If i change the year format to 3 characters as YYY then it gives the 4 digit year or using YY to generate a 2 digit year also works.

Please resolve. I am on version


Release : 4.9

Component : CA Test Data Manager - TDM Web Portal


We stopped supporting legacy TDOD. It should work with TDMService
Please start using TDMService and stop using TDoD service for the communication link between ARD and TDMPortal.  This will resolve this issue.


Use the same port as you use for connecting to the TDMPortal.