Oracle Waveset 8.1.1 Resources Reference

create Before/After Action

The actionContext map passed to the action contains the following entries:

Key  

Value Type  

Value Description  

conn

java.sql.Connection 

JDBC connection to the customer’s database 

adapter

com.waveset.adapter.OracleERPResourceAdapter 

Adapter instance 

action

java.lang.String 

The createUser string

timing

java.lang.String 

Must be before or after

id

java.lang.String 

Account ID of the user to create 

password

java.lang.String 

If present, this value is the new user’s decrypted password 

attributes

java.util.Map 

Map of attributes to set for the new user. 

  • The key identifies which attribute to set

  • The value specifies the decrypted value to which the attribute should be set.

errors

java.util.List 

Initially, this value is an empty list. 

The script may add java.lang.String objects to this list if any errors are found during processing.

trace

com.sun.idm.logging.trace.Trace 

Object used to trace execution 

Scripts can use methods from this class to be “debuggable” in a customer environment. 

Error Handling

Any throw from within the script is considered a failure.

If the script encounters any errors, the script may also add appropriate strings to the errors key. The presence of any items in the errors List is considered a creation failure.