Oracle Waveset 8.1.1 Resources Reference

Example 2: Action that Follows the Update or Edit of a User Account

This procedure shows how to include an action that will run after the update or edit of a user on an Active Directory resource.

ProcedureIncluding an Action that Follows the Update or Edit of a User

  1. Enter update after action in the Waveset User Attribute column of the Active Directory schema map.

  2. In the Attribute Type column, select string.

  3. In the Resource User Attribute column, enter IGNORE_ATTR. Leave the Required, Audit, Read Only, and Write Only columns unchecked.

  4. Add the following fields to the user form that you are using to create and edit users:


    <Field name=’resourceAccounts.currentResourceAccounts[AD].
    attributes.update after action’>
        <Expansion>
           <s>AfterUpdate</s>
        </Expansion>
     </Field>
  5. Create the following XML file and import it into Waveset. (Change file paths according to your environment.)


    <?xml version=’1.0’ encoding=’UTF-8’?>
     <!DOCTYPE Waveset PUBLIC ’waveset.dtd’ ’waveset.dtd’>
     <Waveset>
        <ResourceAction name=’AfterUpdate’>
           <ResTypeAction restype=’Windows Active Directory’ timeout=’6000’>
              <act>
              echo update >> C:\Temp\%WSUSER_accountId%.txt
              exit
              </act>
           </ResTypeAction>
        </ResourceAction>
     </Waveset>