a workflow called Service Template Notification and this new workflow is based. The workflow creates a new notification workflow for a particular Service. Part of the solution is that new, customised policy objects are generated in response to certain changes made in the Portal. Setting, value, comment, activity Display Name, set of Service Active Entitlements. OU_contacts_1 oU_contacts_2 uSER_1 uSER_2 ". This picture shows the workflow it creates a Set, Workflow and MPR, which is everything needed for this notification policy. I have, however, just been converting something Ive done before to all-mimwal workflows, in preparation for re-using the concepts on a new project. Skip to content # # # Written by Carol Wapshere # # Manages contacts in two domains based on mail-enabled users in the other domain. I worked with the fimwal in the past on a couple of MCS engagments, but hadnt yet had the opportunity to use the open-sourced.
The workflow itself is copied from a template workflow object, with a string replace used to change the Email Template name (other workflows copy the same template, with a different Email Template being inserted). Attribute Population DisplayName /Target/DisplayName Action when entitlement is modified RequestPhase Action xoml EmailTemplate, Entitlement Modified) Replacing the name of the email template. Im going to share a policy-creation example today. Ref px # - Attribute deletions are not replicated - only attribute adds and changes. # - A user account is needed in each domain with permission to create contacts. TargetAddress -replace "smtp arrContactMail strAddress # find contacts TO ADD AND update foreach (user in colUsers) if (arrContactMail -contains il) write-host "Contact found for " il colUpdContact user else write-host "No contact found for " il colAddContact user # find contacts TO delete foreach (address. ManagementPolicyRuleType Request GrantRight false ActionParameter * ActionType Modify forex trading online aziende in kenya PrincipalSet /Queries/SetAllObjects From the Query lookup ResourceCurrentSet /WorkflowData/SetActive Passed from the Create Workflow step ResourceFinalSet /WorkflowData/SetActive ActionWorkflowDefinition /WorkflowData/WF Passed from the Create Set step PolicyGroup Custom attribute described above ServiceLink /Target Custom attribute described above. Create Set, the following creates a set of all active Entitlements for a particular Service (custom object types). Log if get-module where-object.Name -eq "ActiveDirectory" ).count -eq 0) import-module ActiveDirectory write-host "domain1 Users - domain2 Contacts". # - Contacts are updated with changed information.