I'm solving a problem that might seem simple, but in event storming I'm not sure how the implementation should be done.
I have an application that works like dropbox, the user get to upload files and on top of those files the user can run a series of operations that will modified the content of it. There is also the possibility to change the name of that file or move it to another location.
I want to track the LastUpdatedTimestamp
of the file and the reason of it, and all these updates are done via a FileUpdated
event. - for example:
A user uploads a file, the
FileUpdated
wevent at the end of the process would look like{"fileId": "1234556", "LastUpdatedTimestamp": "2022-06-08 10:50:00", "reason": "FileUploaded"}
.A user writes something to a file, the
FileUpdated
event at the end of the process would look like{"fileId": "1234556", "LastUpdatedTimestamp": "2022-06-08 11:00:00", "reason": "FileContentModified"}
.
and so on.
I'm not really sure how to keep this update history in event storming for my File
object. I don't have an aggregate in this example yet, and I thought that a FileStatus
could provide this update history but I'm not fully convinced.