hi, since there can be more than one predecessor for a task, you would be looking in the collections tab if you're in the API explorer.
If you're familiar with collections syntax, your listmethod would be for "predecessors", and -- this is just a guess -- I assume the if statement would be somethi...