Hello,
I have the following case:
1. Class Payment Request has property "RelatedContracts" of type Choose from list, multi-select - Chooses from documents with filter Class = Contracts
2. Class Contracts has property "RelatedPaymentRequests" of type Choose from list, multi-select - Chooses from documents with filter Class = PaymentRequests
3. Requestor (Created By) fills the metadata card of Payment Request and the property Related Contracts.
4. The goal is to automatically update the property RelatedPaymentRequests in the metadata card of the chosen in step 3 Contract(s).
I know there is automatic indirect relationship when you connect two documents from different classes, but the final goal is to give permissions to the related Contract to users, chosen in the metadata card of the Payment Request. Let's say this property is called Manager.
In the NACL of the Contract I plan to use RelatedPaymentRequest.Manager
Which works only if you have the direct relationship between the docs/classes. That's why I'm trying to autofill it in the metadata card of the Contract.
Otherwise, the user will have to do it manually which is very inconvenient.
I've tried to accomplish the auto setting of the RelatedPaymentRequests property via the Property Calculator.
I've set up two rules - one triggering the update of the Contract and the second one setting the property in the contract.
I've read the documentation, but I can't find example or something to guide me to my goal or to help me find my mistake.
I've setup the related object update frequency in the settings and when testing I run it again. So it's not the delay of the background operations but more likely mistake from my end.
I'm attaching the screenshots of my rules

Has someone done something similar? Where am i going wrong?
Is it even possible to do this in prop calculator?
Any pointers will be helpful.
Thank you!
