Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

Attribute is read only: how to change value of mventry, not included in flow?

$
0
0

Hi! 

I have the following problem:
I need to generate login attribute during importing employee data from HR system. The login attribute have next format:
Axx00zzz, where:
- A - constant letter;
- XX - code of employee's department;
- ZZZ - ordinal number of employee in department.
I decided to store the employeeQuantity attribute in department object and after generating login for a new employee, increment this value. So, i wrote MapAttributesForImport rule, to generate login:
1. Use department atribute of employee csentry and Utils.FindMVEntries to find appropriate mventry object of employee's department;
2. et departmentCode and employeeQuantity from this object and use them to generate login.
3. Then I need to increment(++) the value of employeeQuantity atribute of department mventry object but i got the attribute is read only error, because this attribute is not in flow. But i can not add in into flow, because i need to join person object and department object before that is not right at all.

Need any help and possible directions of solving problem.

Thanks in advance.


Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>