AgileApps Support Wiki Pre Release

Macros

From AgileApps Support Wiki
Revision as of 23:44, 28 January 2014 by imported>Aeric

GearIcon.png > Case Automation > Macros
GearIcon.png > Objects > {object} > Macros

Doing More than One Thing at a Time

Macros appear in the list of actions that are available when working with a record. Selecting one causes multiple actions to be performed. Here, you see one of the default macros that comes with the system--one that marks a Case as Resolved and sends a note of appreciation for the report:

CaseMacro.png

Using Macros for Testing

Macros can also be used for testing. For example, you can use a macro to:

  • Send an email, to test a template
  • Execute a rule set, to test conditions
  • Start a process, to test an execution path
  • Invoke a method, to test code

Working with Macros

  1. Go to GearIcon.png > Case Automation > Macros
    A list of existing macros appears, showing the actions that are taken when each macro is selected.
    CaseMacroList.png
  2. To enable or disable a macro, click the button that appears next to it:
    CaseMacroEnableDisable.png
  3. To create a macro, click [New Macro].
  4. To edit a macro, click either the macro name or the gear icon.
    CaseMacroEdit.png
  5. You can also click items in the icon list to change the order of the macro in the list, delete it, or clone it.
    (Hovering over the icons shows you which is which.)
  6. Each macro has a name, a list of conditions under which it is available, and a list of actions it performs when selected, all specified in the edit window:
    CaseMacroSettings.png
    Learn more: Defining Conditions
  7. The two actions defined for this macro are to set the Case status, and to send an email.
    When you choose the email option, you are then prompted to select specify the template to use, and who to send it to. (In this case, you're sending to the From Address -- the address of the person who reported the case.)
  8. When you're done, click [Save].
    The macro now appears in the Record Actions List when the specified conditions are satisfied.