I was part of a discussion recently - can age be found within business rules or can bpel do the math and get it for business rules. Business rules is not less incompetent and it does offer capability to mathematical calculations or so called numerical manipulations.
I had a date captured in a tag of type String and sent to business rules. I had to find the age from the date received in input. I have written a function in business rules that can get this done. Essentially the date is converted from string to date and then a difference in dates, will get you the result as an integer.
Duration.years between(OracleDate.from string(arg_1.IP1),RL.date.get current())
Peace!
Cheers,
-AR
Stef’s Monthly Update – November 2017
-
Another month has gone by, and I am a bit late with my story. November was
another busy month after October with Integrate and other things. Month
Novemb...
7 years ago
No comments:
Post a Comment