Should we call a command inside another command in CQRS?

I know there are many posts on this question but none of them gives a clear answer or solution (atleast for my specific case)

Some of them are

In CQRS/ES, can a command create another command?

https://medium.com/workleap/why-command-should-not-call-command-in-cqrs-5da046a9fed1

However the general advice in all the posts is that we should not call one command inside another command.

Let me explain my specific case here now

  1. I have two type of entities Document and Form.
  2. A document can have multiple forms
  3. There is a CreateDocument command. Document can be created without any child forms
  4. There is a CreateForm command. Form can be created for any existing Document
  5. So both Document and Form can be created separately.
  6. While creating the Document if Form is received then the forms should also be created and that is where the issue comes

Now I have separate commands for both document and form creation but forms can also be created as a part of document creation.

So the problem comes when I receive forms as part of document creation.

In this case both document and form should be created but there commands are separately written.

Possbile solutions

  1. Should I duplicate the whole code of form creation inside CreateDocument command?
  2. Should I call the CreateForm command inside CreateDocument command (This is nowhere recomended)?
  3. Should I trigger an event after the document is created and that event handler will handle the creation of forms if any?

Problems with above solutions

Solution 1: This is the cleanest and most correct in the sense that it will allow me to do all the operations under one transaction which is required for my case. But the downside is that I will have to duplicate a lot of code, I am not sure if it is the right practice.

Solution 2 – This is the easiest but it is not recomended anywhere. Also, it lacks the posibility of doing everything in one transaction, so it is possible that document is saved but forms saving fails.

Solution 3 – This is similar to solution 2 but is better approach as I have read but this again lacks the transaction.
Also, the events are captured using INotificationHandler<T> types, so this is also not a command, so I am not sure if I should again call the command inside the event handler to create forms?

Your suggestions please

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật