Question

1
Replies
40
Views
Close popover
Maleesha Wilfred (MaleeshaW)
Evonsys

Evonsys
LK
MaleeshaW Member since 2019 24 posts
Evonsys
Posted: June 1, 2019
Last activity: April 9, 2020
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