Learning Manager Activate and Enroll a User
A 4-step recipe with Adobe Captivate. We can help you get access.
Recipe · 4 steps
Learning Manager Activate and Enroll a User
with Adobe Captivate · Learning & Development Management
Ensure a user is active, then enroll them into a course instance.
- Read the user by id to determine the current account name, email, and state before deciding whether activation is required.
- Patch the user to ACTIVE state, preserving the existing name and email, following JSON:API PATCH semantics.
- List instances of the target learning object and pick the first available instance to enroll the user into.
- Enroll the active user into the selected learning object instance.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token issued via Adobe IMS.
- userId: The id of the user to activate and enroll.
- learningObjectId: The id of the course / learning object to enroll into.
For your developer
Arazzo workflow adobe-captivate:activate-and-enroll-user, 4 operations: getUser → updateUser → getLearningObjectInstances → createEnrollment. Specs on APIs.io.