Oracle Waveset 8.1.1 Resources Reference

Example 1: Action that Follows Creation of a User

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

ProcedureIncluding an Action that Follows the Creation of a User

  1. Enter create after action in the Waveset User Attribute column of the resource’s 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 code to the user form you are using to create or edit users:


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


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