Hi!
Please, help me understand why the process behaves in a such way?
ENTER NEW QueryParametersObject WITH QueryParametersObject.Type=Info.Type
PICK ONE OR MORE FROM RecipientQueryParametersObjectType
CREATE Request FOR EACH Recipient WITH Request.Info=Info,Request.Recipient=Recipient, Request.DateOfCompletion=Info.Date-Recipient.MinusDays
The problem is that it takes the value “Recipient.MinusDaysREF” only of the first Recipient and uses it FOR EACH others.
So if there are 3 Recipient
- Recipient.MinusDaysREF=5
- Recipient.MinusDaysREF=8
- Recipient.MinusDaysREF=7
It will create Request FOR EACH Recipient WITH Request.DateOfCompletion=Info.SdatKlientu-Recipient.MinusDaysREF=5
But if only single Recipient Picked FROM RecipientQueryParametersObjectType it works ok.
Process INPUT is Info BO
QueryParametersObject is not persisted