cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple validity ranges on an assignment

former_member2987
Active Contributor
0 Kudos

Hi everyone,

In IDM 7.2 I need to be able to assign multiple validity ranges for a role assignment for a user. When I try to add the second assignment I get:

ToIDStore.modEntry failed modifying entry 'E46646'. IDStore returned error message: " Not allowed to change a current assignment to a future assignment:Attribute: MXREF_MX_ROLE" when storing attribute 'MXREF_MX_ROLE={LINKID=14988620!!VALIDFROM=2017-12-19!

I'm adding it using {e} as follows:

{e}$FUNCTION.USR_UpdateValidity( %MSKEYVALUE%!!%MXREF_MX_ROLE%!!3)$$

The script returns the linkID (along with the role MSKEYs) and the last parameter is used to determine the length of the second assignment.

A couple of things to consider:

I am doing both assignments in the same task

The two assignments do not overlap

Any thoughts on this one? I'm running just short of having a note opened on this so any help would be appreciated.

Thanks,

Matt

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member2987
Active Contributor
0 Kudos

Finally got it to work! The trick is to add both assignments in the same role assignment. I was doing it in two. I'll be writing about it soon.

former_member2987
Active Contributor
0 Kudos

Finally got it to work! The trick is to add both assignments in the same role assignment. I was doing it in two. I'll be writing about it soon.