Follow links and multiple "Bad"
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
- Open Setup Tables in ConnectWise.
- Open the "Links" table.
- Create a new Link referencing "Service"
- Set the Link Name to "Slack Follow"
- Set the Link Definition to https://yourdomain.tld/cwslack-follow.php?memberid=[memberid]&srnumber=[srnumber]&method=follow
- Create a new Link referencing "Service"
- Set the Link Name to "Slack Unfollow"
- Set the Link Definition to https://yourdomain.tld/cwslack-follow.php?memberid=[memberid]&srnumber=[srnumber]&method=unfollow
- Change the "method" on these links to whatever you set your $followtoken and $unfollowtoken to in config.php.
- Test the links!