SAP Knowledge Base Article - Public

3654814 - Application error for time data type in custom task - Onboarding

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

  1. Navigate to "To Do" and select "Complete New Hire Tasks."
  2. Start the task associated with the custom object e.g "cust_task."
  3. Provide a value for the time field (e.g., "00:00:00AM").
  4. Attempt to submit the task.
  5. Observe the application error.

Cause

The data type "time" is not currently supported in the custom task configuration.

Resolution

  1. Create a new field in the custom object with the data type set to "DateTime" instead of "Time."
  2. If the changes do not reflect in the task, create a new task with the updated object.
  3. 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

Product

SAP SuccessFactors Onboarding