Hi Guys,
I want to identify for each status ( "Not Active", "Active", "Completed", "Cancelled", "Paused", "Paused by Exception" and "Processes with Errors"). I got only one paused by exception status Id is 8. The same way need all the status id. Please share your details.
Thanks,
Pradeep Sridharan
Discussion posts and replies are publicly visible
https://docs.appian.com/suite/help/23.2/task-report-pattern.html
Here they are in order (1st item = 0 etc.):
/* Maps the "c5" / "Status" field values to status names */ local!taskStatuses: { a!map(name: "Assigned", icon: "user-o", color: "#666666"), a!map(name: "Accepted", icon: "user-check", color: "ACCENT"), a!map(name: "Completed", icon: "check-circle", color: "POSITIVE"), a!map(name: "Not Started", icon: "circle-o-large", color: "#666666"), a!map(name: "Cancelled", icon: "stop-circle", color: "#fdb858"), a!map(name: "Paused", icon: "pause-circle", color: "#666666"), a!map(name: "Aborted", icon: "question-circle", color: "#666666"), a!map(name: "Cancelled By Exception", icon: "minus-circle", color: "#fdb858"), a!map(name: "Cancelled By Exception", icon: "times-circle", color: "NEGATIVE"), a!map(name: "Submitted", icon: "share", color: "ACCENT"), a!map(name: "Running", icon: "spinner", color: "ACCENT"), a!map(name: "Error", icon: "exclamation-circle", color: "NEGATIVE") },
@Mathieu Drouin Here there is two cancelled by exception are there. Is this duplicate? Or it means differentiate of "paused by exception" and "cancelled by exception". Please confirm. And also the status is starts from 0 or 1.? I heard from appian doc its start from 0. Please confirm.
Starts at 0.
You are correct - that is weird. I did some searching and it seems like this list might not be 100% accurate.
Here's an updated list based on the findings of those threads. Maybe someone at Appian can confirm which one it is (and update the official docs depending on the findings)? Any thoughts on this Peter Lewis?
/* Maps the "c5" / "Status" field values to status names */ local!taskStatuses: { a!map(name: "Assigned", icon: "user-o", color: "#666666"), a!map(name: "Accepted", icon: "user-check", color: "ACCENT"), a!map(name: "Completed", icon: "check-circle", color: "POSITIVE"), a!map(name: "Not Started", icon: "circle-o-large", color: "#666666"), a!map(name: "Cancelled", icon: "stop-circle", color: "#fdb858"), a!map(name: "Paused", icon: "pause-circle", color: "#666666"), a!map(name: "Unattended", icon: "question-circle", color: "#666666"), a!map(name: "Aborted", icon: "minus-circle", color: "#fdb858"), a!map(name: "Cancelled By Exception", icon: "times-circle", color: "NEGATIVE"), a!map(name: "Submitted", icon: "share", color: "ACCENT"), a!map(name: "Running", icon: "spinner", color: "ACCENT"), a!map(name: "Error", icon: "exclamation-circle", color: "NEGATIVE") },
@Mathieu Drouin - Thanks for your support. We will check and let you know if anything needed.