SAP Knowledge Base Article - Public

3763506 - Item recorded as completed by Learning History API is not returning it as a result

Symptom

While a class has started but not ended, if the user is marked completed and the item shows as completed in learning history. Running the Learning History API does not show the Item being completed until after the class has finished. 

Environment

SAP SuccessFactors Learning

Cause

This is due to two parts

  1. When a class is marked complete prior to the class being completed, the Item for the class completion still has a timestamp of the class end time. (Example if a class runs from 8 am to 4 pm, and the class is marked complete by admin at 10 am, the timestamp for the item still shows completion time of 4 pm)
  2. When the learning history API is called it pulls only data for completions from and prior of current timestamp.

Resolution

This is expected behavior since the API does not pull any completed items that has a future date. With the class completion being in the future we would not expect it to show until the class session has ended. 

See Also

Keywords

KBA , LOD-SF-LMS-ODA , Web Services OData , Known Error

Product

SAP SuccessFactors Learning 2511