Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In the Job/Task Tracking section the column "Status" uses several values, such as Pending, Scheduled, Processing, Error etc. 

When you use the method api.find for "JST", you receive a number to represent the status. 

api.find("JST", 0, 1, "-createDate", api.filter("targetObject", o?.typedId))?.find()

If you need to map these two sets of values, you can look it up in the code – for your specific object. 

For example:

JST Status (public enum TrackerStatus)DMDataLoad StatusQuote Status
0: WAITING_FOR_DISPATCH (PENDING)
1: QUEUED_FOR_EXECUTION
2: PROCESSING
3: FAILED
4: FINISHED
5: CANCELLED
6: INTERRUPTED
0=draft
1=pending
2=scheduled
3=processing
4=scheduled dirty
5=error
6=ready
7=cancelled
0: DRAFT,
1: OFFER,
2: DEAL,
3: REVOKED,
4: SUPERSEDED,
5: INVALIDATED,
6: LOST,
7: PARTIALDEAL

This is just an example; always verify it in the code. 

  • No labels