Customizing employee codes using the substring method in Kissflow
Do you want to generate unique employee codes based on department names? The substring method makes this easy!
How it works
Sarah, an HR manager, uses an Employee onboarding form to generate employee codes for new hires. She uses the Sequence number field and customizes it by department using the substring method.
By applying this method in the Prefix, she extracts the first three letters of the department name, ensuring each department has a distinct employee code format.
How to Use the Substring Method
To implement this, enter the following in the Prefix of the sequence number field:
Employee_Department.substring(1, 3)
Here:
- Employee_Department refers to the department dropdown field.
- The substring method extracts the first three letters of the department name.
This approach helps organize employee codes systematically while maintaining consistency across departments.
Learn more about methods in text expressions here.
With this simple approach, you can effortlessly generate customized codes that align with your specific requirements.
Content aside
- 8 mths agoLast active
- 93Views
-
1
Following