function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NBlasgenNBlasgen 

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.

werewolfwerewolf

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

 

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