Symptom
An application error occurs when attempting to complete a custom task with the data type time:
Error message in F12 console logs: "The value '00:00:00.000Z' for property 'x-cust' in entity '#######' is in the wrong format. The expected format is 'HH:mm:ss'."
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Navigate to "To Do" and select "Complete New Hire Tasks."
- Start the task associated with the custom object e.g "cust_task."
- Provide a value for the time field (e.g., "00:00:00AM").
- Attempt to submit the task.
- Observe the application error.
Cause
The data type "time" is not currently supported in the custom task configuration.
Resolution
- Create a new field in the custom object with the data type set to "DateTime" instead of "Time."
- If the changes do not reflect in the task, create a new task with the updated object.
- Perform the following steps to ensure the changes take effect:
- Clear the cache in "OData API Metadata Refresh and Export."
- In Provisioning, run "MDF Object Definition To DB SYNC."
- In Provisioning, clear the MDF Cache.
- Test the updated configuration with a new user.
This is a known issue which engineering work is currently in progress. In the order to be aware of when the code fix will be delivered kindly reach your account manager to monitor the internal ticket MDF-91807.
Keywords
application error, time data type, custom task, sap successfactors onboarding, invalid data format, HH:mm:ss, no applicable renderer found, datetime field, MDF cache, OData API metadata refresh, provisioning sync, onboarding tasks, MDF-91807 , KBA , LOD-SF-OBX-NHA , New Hire Activities (activities, tasks, buddy, equipment) , Problem
SAP Knowledge Base Article - Public