Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we access a bucketset from Business Rules Function

Hi

How are you doing!

I have a scenario where there is a holiday list stored in a BucketSet. I have a funciton which calculates the next business day by checking if the next day to the input is in saturday/sunday and in the list of values in the bucketset.

For saturday/sunday check, Rules have already pre-defined functions

          nxtDayCalObj.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY

But I could not iterate over the bucketset to check if the value is in this list.

     My code would look like if nxtDayCalObj in <BucketSet_HolidayList>

But seems like Bucketset is not visible in Funcitons. Gloabls are visible however.

Do you have any idea on how to access a bucketset in Function?

Regards

RaviKiran

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2014
Added on Dec 19 2013
0 comments
131 views