Employee number - auto increment for specific conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 08:07 AM
Hi fellow Developers,
I need some ideas on how to attach the following requirement:
When a onboarding request is submitted, I need to assign an employee number to the new user and the employee number starts with 7 (i.e. 700000) and any future onboarding requests will increment the employee number.
Couple of points regarding the onboarding request:
- Data is sent to Saviynt
- Saviynt sends data to Okta
- Okta provisions the user in ServiceNow
I was thinking of storing the employee number as a system property. In the flow, I would get the property, send to Saviynt and then increment the property. However, I just read that setting system properties causes a system-wide cache flush.
Any thoughts on how to achieve this?