Scripting in a Connector
- Input Map and Output Map
- Custom attribute mapping is performed in these tabs. When the attribute is selected, you must select the Advanced Mapping check box, and input your script in the edit window. Remember that after you have done all processing necessary, you must assign the result value achieved to ret.value, for example:
... ret.value = myResultValue;Alternatively, in Security Directory Integrator v7.2 you may use the keyword return followed by the simple value you would like to pass as result:return "mystring";- Connector Hooks
- Hooks give you the means to respond to certain events that occur, and override the basic functionality of a Connector. You have access to the global objects when scripting Hooks, although some of the standard objects might not be available in every Hook. For details on temporary object availability, see "AssemblyLine and Connector mode flowcharts" in SDI v7.2 Reference Guide. You also have full control over the environment, the AssemblyLine, the Connector, entries and attributes. Hooks give you a diversity of control points for customizing the process flow. See AssemblyLine flow and Hooks.
Parent topic:
Control points for scripting