Skip to content

Follow links and multiple "Bad"

Compare
Choose a tag to compare
@jundis jundis released this 12 Sep 21:54
· 278 commits to master since this release

Hello again!

This release allows for links to follow commands using the ConnectWise link functions as well as makes the "bad" variables arrays separated by the pipe symbol | (shift+\ for those on QWERTY) so that you can specify multiple things you don't want alerting Slack. This release also changes the /t command to include hours spent on a ticket so you know if it's waaay past time spent.

See below for details on the new link function in cwslack-follow.php

  1. Open Setup Tables in ConnectWise.
  2. Open the "Links" table.
  3. Create a new Link referencing "Service"
  4. Set the Link Name to "Slack Follow"
  5. Set the Link Definition to https://yourdomain.tld/cwslack-follow.php?memberid=[memberid]&srnumber=[srnumber]&method=follow
  6. Create a new Link referencing "Service"
  7. Set the Link Name to "Slack Unfollow"
  8. Set the Link Definition to https://yourdomain.tld/cwslack-follow.php?memberid=[memberid]&srnumber=[srnumber]&method=unfollow
  9. Change the "method" on these links to whatever you set your $followtoken and $unfollowtoken to in config.php.
  10. Test the links!