+ Start a Discussion

Detect Valid "Closed" Status for Tasks

I have an application that logs a call automaticly via the API.  This was fine for the first 5 customers, but now I've run into a known issue but an issue we never corrected.  A new client has "Done" set to be their version of a Compleated Task.  And I can see that future clients may have multiple "IsClosed" names for their Tasks.  Is there any way to get a list of Status names that will close a task?


I've tried doing a Describe on Tasks and it only returns the list of Status names and which is default.


Task Status closed-ness is stored in a different object.


Select t.MasterLabel From TaskStatus t where t.IsClosed=true