Error in workflow

Which IIQ version are you inquiring about?

IIQ 8.3p2

Please share any other relevant files that may be required (for example, logs).

Caused by: org.apache.bsf.BSFException: BeanShell script error: bsh.EvalError: Sourced file: inline evaluation of: !groupExists;'' : illegal use of undefined object or 'void' literal : at Line: 1 : in file: inline evaluation of: !groupExists;‘’ : ;

Share all details about your problem, including any error messages you may have received.

Hi All,

I’m working on creating Azure Distribution List through Custom Quicklink, I was using the same Quicklink that used to create AD Groups. In same workflow i added few steps to create DL for Azure based on Group type Selection. I was getting this error while trying to create the group. the issue seems to be happening on Transition Step. Below Provided are the Transition Steps

Transition for Azure AD:

Transition Step for AD:

Whenever i try to create Azure DL, !groupExists was getting Error. I’m not sure why that transition was getting evaluated while creating Azure DL. Can anyone please help me on this.

Hi @DharshiniB ,

Make sure that the groupExists variable is being defined and assigned a valid value before you try to negate it with !groupExists

Are you using groupExists variable in transition step condition?
Please share the workflow transition.

1 Like

Hi @Arun-Kumar,
I have defined groupExists as Boolean inside AD Plan Step.


This is the Transition Step

Hi @DharshiniB ,

Define groupExists as a workflow variable and initialize its value as shown below. Then, pass the groupExists value to the workflow step.

<Variable initializer="false" name="groupExists"/>

In the Transition step use the reference varaible like below.

<Transition to="Email Notification group exist" when="!ref:groupExists"/>

Hi @Arun-Kumar ,
Thanks for the reply ill try this way
, Should i need to do the same for !nicknameExists.

Hi @DharshiniB,

Yes, you should also define and initialize the nicknameExists variable.

@Arun-Kumar Thanks for the reply it worked for transition.

I have another query in this. as i said we were using same Quicklink to create AD Groups and Azure Group. I have set a source as Target Aggregation for Azure. AD Group source was Group Management we haven’t set that its default. But while creating Azure Group now I’m getting both source in provisioning transaction “Target Aggregation” and “Group Management” . and Group Management was getting failed with following error.

Ex55FBCD|Microsoft.Exchange.Configuration.Tasks.TaskException|There are multiple recipients matching identity “Group Name”. Please specify a unique value.

Is there any way to solve this issue?

Could you please share the ProvisioningPlan?

ProvisioningPlan plan = new ProvisioningPlan();
ProvisioningPlan.ObjectRequest oR = new ProvisioningPlan.ObjectRequest();
oR.setApplication(“App name”);
oR.setOp(ProvisioningPlan.ObjectOperation.Create);
oR.setType(“group”);

oR.add(new ProvisioningPlan.AttributeRequest(“displayName”, ProvisioningPlan.Operation.Set, “"));
oR.add(new ProvisioningPlan.AttributeRequest(“mailNickname”, ProvisioningPlan.Operation.Set, "
”));
oR.add(new ProvisioningPlan.AttributeRequest(“description”, ProvisioningPlan.Operation.Set, “*"));
oR.add(new ProvisioningPlan.AttributeRequest(“groupTypes”, ProvisioningPlan.Operation.Set, “DistributionList”));
oR.add(new ProvisioningPlan.AttributeRequest(“mail”, ProvisioningPlan.Operation.Set, "
”)); //

plan.add(oR);

Provisioner pro = new Provisioner(context);
pro.setSource(“TargetAggregation”);
pro.setNoCreateTemplates(false);

HashMap args = new HashMap();
args.put(“optimisticProvisioning”, Boolean.TRUE);

try {
pro.execute(plan);
log.error(“Provisioning plan executed successfully.”);
} catch (GeneralException e) {
log.error("Error executing provisioning plan: " + e.getMessage(), e);
}

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.