How to return a value only if it is set?

The value `ongoingTimeCategorizationUpdated` is only present when a couple of conditions are true. This leads to an issue when it's not set.

Is there a way to handle that use case gracefully? I'd like to avoid an extra action, if possible.

2 replies