...
If the activity has a deadline triggered, the state will change to closed.terminated. If the process instance is aborted, then, the activity instance's state will change to closed.aborted.
...
If the activity has a deadline triggered, the state will change to closed.terminated. If the process instance is aborted, then, the activity instance's state will change to closed.aborted.