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,