motionlab Posted April 5, 2016 Report Posted April 5, 2016 Hi, I'm extremely new to the ftrack API, so I'm hoping this will be an easy question for you seasoned veterans. I'm trying to create a simple script that will send a message/notification to a specific user and/or usergroup. We're simply trying to avoid sending an email, and rely more on ftrack for little things like this. I've gotten as far as running the sample script here: http://ftrack.rtd.ftrack.com/en/latest/developing/getting_started.html and that works as expected. Cheers, Daniel
tokejepsen Posted April 5, 2016 Report Posted April 5, 2016 Depending on if you want the project specific usergroups, you can get it through the project; http://ftrack.rtd.ftrack.com/en/latest/developing/api_reference/index.html?highlight=getallocatedgroups#ftrack.Project.getAllocatedGroups
motionlab Posted April 5, 2016 Author Report Posted April 5, 2016 I'm more having trouble sending messages at all - so maybe lets start with sending a test message to a single user, and then I can build on it from there Thoughts? Dan
tokejepsen Posted April 5, 2016 Report Posted April 5, 2016 Not entirely sure you can send a message directly to a user. But I might be wrong, ftrack devs? You can add a note to different things in Ftrack. For direct messaging we used Slack, and the python api for that.
motionlab Posted April 5, 2016 Author Report Posted April 5, 2016 Thanks! Yeah I think I'm coming to the same conclusion - I got it working by adding notes to a task, but haven't seen a way to send a message without attaching it to a task. That's not a big deal though, using a task as the anchor is totally fine. Thanks for your help Cheers
Recommended Posts
Archived
This topic is now archived and is closed to further replies.