Skip to Content

Multiple validity ranges on an assignment

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 21, 2016 at 12:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2016 at 12:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded