Skip to Content
0

Multiple validity ranges on an assignment

Dec 19, 2016 at 03:53 PM

100

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Matt Pollicove Dec 21, 2016 at 12:48 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Matt Pollicove Dec 21, 2016 at 12:48 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded