-
Notifications
You must be signed in to change notification settings - Fork 36
Scenario Generate EmployeeID
Anthony Marsiglia edited this page Dec 19, 2015
·
5 revisions
Employee ID Generator
Employee ID Generator: The Employee ID Generator uses a combination of Update Resource and Generate Unique Value Workflow Activities. This particular Workflow requires your FIM Environment to have a Resource in your FIM Environment called "Employee" as well as a custom Attribute Called "EmployeeID" If you need to assistance creating the "Employee" Resource or Creating and Binding Attributes within the FIM / MIM Portal, there are examples located on the Connector Space Blog
Prerequisites for this Employee ID Generator Workflow:
- Create the "Employee" Resource
- Create "Employee ID" attribute (Indexed String)
- Bind "Employee ID" attribute to the Employee Resource
- Bind "Employee ID" attribute to the User Resource
- Give Permissions to update new resource
- Give Permissions update Employee ID
- Create 1 Object within the Employee Resource
- Set the Value of the Employee ID of the new Employee Resource Object with a value you wish to start the Employee ID Generator from.
- Create an All Employee Objects Set
Employee ID Generator | |
---|---|
1st Activity | Action – FIMWAL2:Update Resources |
Activity Display Name | Employee ID Lookup |
Advanced Features | True |
Query Resources | True |
Queries | |
Key | Employee |
XPath Filter | /Employee |
Activity Execution Condition | |
Iteration | |
Updates | |
Value Expression | First([//Queries/Employee]) |
Target | [//WorkflowData/Employee] |
2nd Activity | Action - FIMWAL2: Generate Unique Value |
Activity Display Name | Generate New Employee ID |
Activity Execution Condition | |
Target for Generated Value | [//WorkflowData/EmployeeID] |
Conflict Filter | /Person[EmployeeID='[//Value]'] |
Query LDAP for Conflicts | False |
Uniqueness Key Seed | 1 |
Value Expressions | Add(ConvertToNumber([//WorkflowData/Employee/EmployeeID]),ConvertToNumber([//UniquenessKey])) |
3rd Activity | Action – FIMWAL2:Update Resources |
Activity Display Name | Update Employee ID |
Advanced Features | False |
Updates | |
Value Expression | Target |
[//WorkflowData/EmployeeID] | [//Target/EmployeeID] |
[//WorkflowData/EmployeeID] | [//WorkflowData/Employee/EmployeeID] |
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/mimwal/faq
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum