Roles not getting assigned

Which IIQ version are you inquiring about?

8.3p4

Please share any images or screenshots, if relevant.

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

Hi SailPoint,

I am new to IIQ, so please go easy on me if I ask any stupid question​:grin:.

When I assign a role to a user using the Manage User Access tab, the request doesn’t process and returns an error “An unexpected error occurred: Typed variable declaration : Final variable ‘dateFormat’, can’t re-assign. : at Line: 12”. (Refer to the attached image).

Can anyone please guide me to right direction, where I can start looking to investigate or if anyone has resolved the same please share the solution. Also, this in staging environment and we have recently upgrade to 8.3p4 from 8.3p3.

Seems like it’s from workflow , check the workflow attached to your manage access page and look for this variable which is shown in error .

@vishal_kejriwal1, I did find the attached workflow and the code attached to it. Here is the snippet where the error is pointing

We got the same code in PROD and it is executing request fine.

1 Like

Hi @KaranGulati025 , Try without

private static final 

keywords,

just use

DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");

Thanks !

1 Like

Thanks @Zekkin for the the solution. By removing the private static it worked.

2 Likes

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