You can just put Duty Action 1 and/or Duty Action 2 on your hotbar, no need for a macro.

Flip through the actions/traits menu and look for "Duty Action". Probably under "General" or something.