Skip to main content
Question

Reinstate Completions at a course level if the course is already in a learning plan

  • May 30, 2026
  • 2 replies
  • 22 views

Hey community. 

I’ve been passed a lovely big job and I’m currently in a huge pickle. Someone at my company was told to archive a bunch of completions for a client but then the client changed their mind and now want to reinstate the completion against the course. These courses are however located in learning plans (yay - my favourite) so using the enrollment_learn_v1_enrollment_batch_0 in the api browser can’t work because the users are enrolled in the learning plan. The learning plan also has completions attached (yay). I’m seriously at a loss at what to do. I explained the situation to docebo support and they told me to use the api endpoint which does not work because the courses are located in learning plans.  
Does anyone have any suggestions as to what to do? Its the weekend here, I’m sitting at my computer crying because nothing is working and i have 3800+ completions to reinstate before Monday. 

I’m so upset by this, can someone please help me on what i can do 😢

2 replies

ccallaway
  • Newcomer
  • May 30, 2026

@aa.ag YIKES! I can’t even imagine your stress level.

Before going any further, can you tell us:

  1. Were the Learning Plan enrollments archive using “Archive and Re-enroll” or “Archive and Unenroll?”
  2. Was “Reset Tracking” selected during the archive process?
  3. Can you still see the records under Archived enrollments?
  4. Do you have a completion export from before the archive?

If the administrator selected Archive and re-enroll and did not reset tracking, the historical training material tracking is retained. In this scenario, the completions may already exist and the issue may simply be that the Learning Plan progress is not displaying as expected.

Archived records remain in the platform.

Go to:

Course Management → Course → Enrollments  → Enrollment Type  → Archived Enrollments

Look for one of the affected users.

If the completion report is still sitting there with the certificate of completion date intact, then the data itself is not lost.

The question then becomes “Is there a way to move it back into an active enrollment state?” Since Docebo does not provide a true “unarchive” button, Support may be able to perform a backend restoration.

The API Endpoint that you shared works on course enrollments. If the users are managed through a Learning Plan, you may need to work with the Learning Plan endpoints instead of Course Enrollment endpoints. If the Learning Plan is still controlling the enrollment relationship, you cannot restore them from the course enrollment.

If the users were archived and then unenrolled from the Learning Plan, the sequence matters.

Potential Order

  1. Re-enroll users into the Learning Plan
  2. Verify course enrollments were recreated
  3. Then restore completion status

Note: Some LMSs will reject completion updates when the enrollment hierarchy is broken.

If the completion records were exported before archiving, you may be able to rebuild the records through bulk import/API instead of trying to “restore” them. You will need the following:

  • User ID
  • Course ID
  • Completion date
  • Completion status

I hope some of this helps.


lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • May 31, 2026

Hi ​@aa.ag While I agree with proposed steps to fix this, my first question is why has this become an issue. Archived records are not lost and can still be reported on. You did loose access to the underlying course content details though; sadly these cannot be retrieved in reports.

rebuilding these records can certainly be done but you may want to inquire about how much data do you need to rebuild; e.g. just the overall LP completions? each individual course completion? Learning object completion? All of these?

To maintain the original completion dates you will need to run the imports backwards starting with the LP completion, then course completions and finally LO tracking. This is so you can preserve completion dates to what they were (otherwise if you marked the courses as completed before the LP, the LP completion would show as the same date you preformed the course completions).

Run your reports for the archived LP, and the courses they contain. This will give you your baseline. You can then prep your import reports to use with your API’s. other sure if you have a server you can connect to or if you can run batch jobs...you can also use Docebo Connect if you have that app available. I’ve used that before to track LP completions.

Hope you find something useful here. Best of luck.