Skip to content

xMTinkerer/xm-labs-incomplete-groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find Incomplete Groups

Do you have groups without members? Maybe you have forgetful group supervisors. Would you like to give them a gentle daily or weekly nudge to add members? This is the integration for you!



How it works

An event is manually generated in the xMatters user interface with a list of group names to check. This event should be scheduled based on the periodicity the check should be performed. Once the event is created, the event status trigger kicks off and passes the group list to a step. This step iterates through the list and for each group calls the HTTP trigger to continue the process. The HTTP trigger receives the group name and then makes a series of queries to determine if the shift schedule contains gaps. If so, the group's supervisors are identified and an event is triggered letting them know they need to get coverage for their group.

Pre-Requisites

  • An xMatters account.
  • Developer access.

Files

Installation

The set up (xMatters)

  1. Import the IncompleteGroups.zip workflow.
  2. Navigate to Flows > Start event canvas.
  3. Double click the Check Group HTTP trigger and copy the url:
  1. Paste the url into a text editor and extract the "path" portion of the url by removing the entire first part of the url up to the .com. It should be something like /api/integration/1/functions/UUID/triggers?apiKey=API_KEY.
  2. Open the Constants and paste this path value into the Value of the HTTP Trigger Path constant:
  1. Save the canvas.
  2. Click Messaging from the left navigator menu and click Start event. Enter the comma separated list of groups to check. Remember not to include a space after the comma.
  1. If you want to only fire this once for testing, click Send Message. If you're satisfied, click the Schedule Message button and enter the time and day the message should fire. (Ignore the "No Recipients Selected" warning. The group supervisors will be determined at runtime.)

Testing

To send a quick one time test, click Messaging from the left navigator menu and click Start event. Enter the comma separated list of groups to check. Remember not to include a space after the comma.

Then click Send Message. This will just fire the event once and then stop.

Troubleshooting

Investigate the activity stream in the canvas for any errors.

About

Scheduled email to group supervisors for incomplete groups.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published