Hi Rajat,
If you don’t need to display the employee ID beforehand, you can then simply commit the employee in a microflow. Prior to your commit activity, you have 2 options:
These methods ensure that you only take into consideration the committed employee entities. As a word of caution, this may have issues when you have multiple user and simultaneous transactions.
Alternatively, you can use the Autonumber attribute, but it will not roll the value back should you cancel the creation of the employee