This is a process to copy an xMatters group. Although creating a new group manually is not rocket science it can be made much much easier.
You may have complex Groups populated with on-call members that support specific areas of your business. You may need to create new groups that use the same shift, rota and on-call members supporting other areas of the business. Perhaps you could build a group template that includes all standardised shift patterns and use this as a basis for other groups you need.
This 'integration' allows you to select a group from a list and copy it including shifts, rotas, members, devices and escalations.


- xMatters account - If you don't have one, get one!
- CopyGroups.zip - This is the workflow containing all required functionality. (Two forms, two outbound integrations, two shared libraries and one constant)
There are two processes:
Populate Group Property is used to initially build the Group list. Run this process first. NB. This manages up to 100 groups but could be modified for more
Copy Group is then used as required to create a copy of an existing group
- select a group to copy from a list of groups
- enter a new name for the group
- optionally enter a description for the new group (if none its provided it uses the description of the template group)
- send message to create the new group
- monitor the resulting event
- the event will terminate when the new group has been created. Any errors are added as comments to the event
- if there are no errors the new group is automatically added to the group list
Thereafter you can make any small changes you need on the new group :)
- Import the CopyGroups.zip workflow
- Configure relevant 'Sender Permissions' on each form
- Copy the 'Property Identifier' (UUID) of the 'Group' Property
- Paste the Group property identifier into the 'Group Property UUIDs' Constants value
It is not necessary to target recipients in either of the forms but you can if you wish.
Very basic email message templates have been defined for each form.
NB. 'Populate Group Properties' process needs to be ran once to populate the group list. It only needs to run again if new groups have been created manually.
Run Populate Group Property process. Once complete check the Group property in 'Copy Groups' form is populated with your Groups.
Run Copy Group process. Once complete, check there are no error comments on the event and the new group has been created. Check shifts, members and escalations.
If the Group list is not created confirm the correct UUID is in the 'Group Property UUIDs' Constants.
Some errors, such as a duplicated group name result in no group being created. This is fine. Some errors may relate to specific shifts in a group. In this case the group will have been created but you may need to manually recreate the identified shift. This nature of error will be reported in event comments.
If the new group is not created, and there are no error comments on the event, then check the activity stream for the 'Create New Group' outbound integration.