I'm designing an application which accepts a command, processes it and produces a result. Application will maintain the status of the input command as 'new', 'processing' and 'completed' as it transition through the execution flow.
When the command processing is completed, status will be updated to 'completed'. But it can be completed with either success, failed or ignored. I need a proper name for these substates - success, failure or ignore. Should I call them 'result' or 'statusCode'.
new, inprogress and completed -> status success, failed and ignored -> ????