Skip to Main Content

Analytics Software

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!

Executing a PBCS business rule using groovy script

N000SJun 25 2021 — edited Jun 25 2021

Hi,
We are planning to execute a business rule using groovy script because the business rule has got two runtime prompts and users want to enter only one , the second prompt is dependent on the 1st input variables and user don't want to enter ever time she run.
For example prompt1 and prompt2
If prompt1 = x1 then prompt = x2
if prompt1 = y1 then prompt2 =y2
Users want to enter only x1 or y1 or z1 etc...x2, y2 and z3 should be passed as prompt2
Can you please provide some advise how to do this in groovy?

Thanks in advance,

Comments