I have been looking at Public Java API documentation available, and somehow I couldn't find the value for the constants for TaskSummary class (e.g.
public static final java.lang.Integer TASK_STATUS_COMPLETED, etc)Can you please assist from where I can get the values of the constants? I checked https://docs.appian.com/suite/help/17.2/api/constant-values.html, but couldn't find the values there as well.Thanks!
Discussion posts and replies are publicly visible
This might be a bit of a roundabout way of getting these values, but if you look at this example in the documentation there's a piece of logic that effectively gives you the values for the task statuses. This makes the assumption that the values you see on a task report are the same as those used in the class, but it might be a decent place to start.
TL;DR version - they might be as follows:
0 - Assigned1 - Accepted2 - Completed3 - Not Started4 - Cancelled5 - Paused6 - Unattended7 - Aborted8 - Cancelled By Exception9 - Submitted10 - Running11 - Error