Half of the work is done, now we define our logic to synchronize application role's members into the target application (using our defined FIM groups), some target applications is straight forward such as Active Directory (since its one-to-one group relation), other applications might need some custom connector in order to parse the role members and export them in the correct record format. Roles Having Both Dynamic and Manual Membership
now some scenarios require that the Enterprise Role have both Criteria and Manual membership, in FIM you cannot have both configured on the SET object. to overcome that, we can simply create a shadow-role with static members, then in our original criteria-based ERole we add an "or condition" to have members in the shadow-role included. this condition is structured by having:
ObjectID = /SET[DisplayName='shadow-role name']/ExplicitMember