To create a user in the Joget Workflow user directory using a form created in Form Builder, set the Form Store Binder of a form to "Directory User Form Binder".
Design the form to capture user information as shown below:
Your form must contain the fields with the following field IDs:
- id OR username
- firstName
- lastName
- password (will be encrypted using MD5)
- active (either '0' or '1' value, where '0' means inactive and '1' means active)
- timezone (in GMT format, e.g., '8' is the time zone for 'Kuala Lumpur' and '-6' for 'Mexico City'. This field is optional.)
- userRoles (either 'ROLE_USER', 'ROLE_ADMIN', or 'ROLE_USER;ROLE_ADMIN')