Keep the following items in mind when creating an action file.
If you change any variable names in the Waveset Resource Attribute column on the schema map, you must change the names in this object as well.
Because the actions are included in an XML expression, some characters must be escaped. Escape these characters as follows:
& (ampersand): &
< (less than): <
On UNIX resources, spaces in attribute names are replaced with _ (underscore). On Windows resources, spaces are maintained.
Multi-valued attributes consist of a comma-separated list, as in:
WSUSER_groups=staff,admin,users
Gateway-based adapters use a pipe-delimited list for multi-valued attributes. For example:
WSUSER_NotesGroups=group1|group2|group3
On Active Directory resources, actions are run using the Windows command interpreter cmd.exe with extensions enabled.
Actions that run before a user operation must return a zero value. Otherwise, the operation is aborted.
A Javascript is assumed to have completed successfully unless it throws an exception.