Parse error with assignment rule. Any idea what's causing it from my code?

Which IIQ version are you inquiring about?

Version 7.2

Please share any images or screenshots, if relevant.

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

Hi all- quick code question.

I’m trying to write an auto provisioning rule to provision all identities with subArea=“0910” & unmcEmployeeStatus=“Active” with a role. I’ve attached the java code I wrote to this question.

When attempting the refresh to test the rule, I get the following error:

BeanShell script error: bsh.ParseException: Parse error at line 20, column 18. Encountered: BSF info: NM_Rule_Assignment_COPH_Employee_DoorAccess at line: 0 column: columnNo

Any idea what’s flagging this parse error?

After some research- I believe this error is related to the compiler expecting more code and can be caused by a closing parenthesis or extra comma. Usually, the error will indicate where it experienced an unexpected end-of-file, and so all we need to do here is add a closing parenthesis where the caret points.

UPDATE: Nevermind! I was missing the last closing bracket for the first if statement. Fixed it!

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