1. You have opened the OAD Macros workbench with the OAD Macro tool.
  1. Click Macro Editor.
  2. The Macro Editor dialog opens.
  3. Right click Workflow Templates in the macro list on the right and select Add Macro. Alternatively, click New in the button bar, or click the File menu and select New Macro.
  4. A new macro is created and given a standard name composed of the string "Macro-" plus an ascending number.
  5. Rename the macro and give it a meaningful name via right click on the new macro, or via the File menu.
  6. Write your macro and save it.
  7. The first lines of a macro are displayed in the Preview section of the OAD Macro tool. Therefore, it is recommended to begin the macro with a comment of the macro's main features.
  8. Close the editor.