25.2.6.8 Provisioning a New User Account
Provision a portal user account when the workflow approves a patient request.
Consulting the Recent Patient Inquiries page again, as shown below, David can see that patient Cristina Cordero's request was automatically approved, her portal account got provisioned, and the workflow is waiting for her to complete her registration.
Figure 25-100 Cristina Cordero's Request Was Auto-Approved and Is Now Waiting
- Invoking the Provision Account API
Invoke a provisioning API to create the approved patient’s account and assign its role. - Inserting Account Creation Request
Insert an account creation request for a background job to process outside the workflow session. - Scheduling Create New Account Job
Schedule the account creation job from SQL Developer Web so it runs as the workspace schema. - Handling New Account Requests
Process queued account requests, create users, and email portal credentials from PL/SQL. - Notifying User of Temporary Password
Email the approved patient their portal username and temporary password from PL/SQL. - Receiving New Account Email
Parent topic: Building Patient Onboarding Visually
