as Attachments is not a field, but is a detail, you can do the following validation script (sample for Activities) in object process for Validating message
UserConnection userConnection = context.UserConnection;Selectselect=(Select)newSelect(userConnection).Column(Func.Count("Id")).From("ActivityFile").Where("ActivityId").IsEqual(Core.DB.Column.Parameter(Entity.Id));if(select.ExecuteScalar<int>()==0)thrownew Exception("Attachment is required");returntrue;
Unfortunately, there is no option to make the fields as required in the attachments detail without code. Technically it is possible to enable the Required attribute for the detail fields but you will not be able to attach the file itself. It will fail with errors.
You are right, you need to create a process with the validation message as a signal. You can do it by clicking the "Open Process" button in the object configuration. The start signal in this case would be "AccountValidating".