Question

1
Replies
38
Views
MaleeshaW Member since 2019 21 posts
Evonsys
Posted: 1 year ago
Last activity: 6 months 3 weeks ago
Solved

Generate an ID using Multiple Properties

I want to generate a Policy ID in the following format.

The Policy Number should be in ABxxxx-yyy format, where digits stand as below,

A – F/T based on Full/ Third Party

B – C/B/V/M based on Car/Bus/Van/Motorcycle

xxxx – Current Year

yyy – A 3-digit number that increments based on the key given by the previous digits (digits 1 to 6)

Eg:- FV2019-012 means 12thFull cover Van insurance issued for year 2019

Can anyone suggest a proper method to do this?

Data Integration Java and Activities Case Management
Share this page LinkedIn