When you use the method api.find for JST (Job Status Tracker), there is a set of values to represent the job state.
api.find("JST", 0, 1, "-createDate", api.filter("targetObject", o?.typedId))?.find()
However, in the UI the states can have different names depending on the object type. For example, a job in JST ends up as "FINISHED", whereas in Data Analyzer > Data Loads the same job has the status "ready".
To be able to map these sets of values, always look the status up in the code – for your specific object.
For example:
|
JST Status (enum TrackerStatus) |
DMDataLoad Status (enum CalculationStatus) |
Quote Status (enum QuoteStatus) |
|---|---|---|
|
0: WAITING_FOR_DISPATCH (PENDING)
|
0=draft
|
0: DRAFT,
|
The numbers can also be useful for Support/Operations, since this is how the given state is saved in the database.