Running 24.2.5 on OCI Autonomous (Always Free).
When using a Task Action on a task expiration, the status code doesn't appear to have been set to ‘EXPIRED’ before the task actions run.
My task was in state ‘ASSIGNED’ prior to it being expired. I pass the state code to a pl/sql procedure in an Expiration Task Action, and expect to get ‘EXPIRED’ but actually get ‘ASSIGNED’.
When running task actions from COMPLETED or CANCELLED states, it behaves as expected. My task was expired using the APEX_HUMAN_TASK.HANDLE_TASK_DEADLINES procedure.