Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Value

DATABASE

Enter the database name used when installing Adonis Personnel Manager.

DAYSGAP

Enter a numeric value stating the number of days from today's date in which the system will detect planned activity.

DEBUGLOG

Enter a numeric value stating the number of log records to be displayed.

SERVER_NAME

Specify the server name to which to connect.Name of the

SERVICE_PSW

Enter the Moodle password.Password of the user used or authenticated to use the external service. See Moodle configuration section below

SERVICE_URL

Enter URL pointing to the Moodle URL.Server

SERVICE_USERSet the service user.

User name of the user authenticated to use the external service

SERVICE

Name of the external service used to integrate with Moodle. See Moodle Configuration below

XREF

Enter the Moodle plugin code defined in Adonis Personnel Manager. For more information, see Add Moodle Interface.

Moodle Configuration

External Service

In Moodle, external services are a feature that allows integration with external applications or services, enabling them to interact with Moodle and access certain functionalities. The replicator parameter SERVICE refers to the external service short name.
To use external services in Moodle, administrators need to configure the service's settings, including authentication credentials, access permissions, and specific functions that can be accessed by the external application.

Expand
titleHow to create and external Service

Log in to Moodle as an administrator and click on the Site administration → Plugin → Webservices → External services.
Add a new External service name and the short name “enrol_user“. Remember to add both fields otherwise, you will get the Error “Invalid token“

Image Added

Expand
titleHow to add functions to the External Service

The following functions need to be added to the external service.

Code Block
auth_userkey_request_login_url
core_completion_get_course_completion_status
core_course_get_courses
core_enrol_get_enrolled_users
core_enrol_unenrol_user_enrolment
core_user_create_users
core_user_get_users
core_user_get_users_by_field
core_user_update_users
core_webservice_get_site_info
enrol_manual_enrol_users
enrol_manual_unenrol_users

Goto:

Expand
titleHow to create a token

Go to, Site Administrator → Plugin → Web Services → Manage Token

Image AddedImage Added

Course Criteria

In Moodle, course criteria refer to the requirements or conditions that employees must meet to complete or pass a course. The following conditions are supported and result in competency in Adonis:
1. Completion of Activities, or self-completion, when following the course, the employee confirms reading or following the course. Typically used for introduction videos or presentations.

2. Minimum Grade Threshold, or Required course grade, the student must achieve a specific score before passing the course, resulting in competency in Adonis.

For more details on setting up courses, see the Moodle documentation.

APM Configuration

Enrollment Profile

...