whats the frequency of the letter  in:
my mapi.exchange.msg.communication class has a property called recipients which is a list.
after the call to bo, it seems like my conext.cm variable gets cleared and <foreach> fails with <invalid oref> when trying to do .next() on my cm.recipient property. any ideas on what i am doing wrong here?
note: if i make an asynchronous call to send email then context variable is not cleared and my process works but i need the call to send email to be synchronous.
is mapi.exchange.msg.communication persistent?
that said, id move json parsing to a bs, so mapi.exchange.msg.communication becomes a request.
here is the section in the docs that explains why this is happening and why @eduard lebedyuk asked if that class is persistent.
thank you marc and eduard for your reply. after spending some time i figured what you both have pointed i.e the class needs to be persistent.
regarding your comment around moving json parsing to bs, is there a reason for doing so?
i have a common business service which can invoke multiple different business processes based on a parameter. that is why it uses the common class mapi.core.msg.rq.restbusinessservicerequest to pass on request data to the bp and let bp do the specifics.
in general it might be preferable to move from less structured data (json) to more structured data (objects) as fast and as early in your processing pipeline as possible.
its also advantageous to move all parsing logic is in one place (business service) as it minimizes the amount of code written and frees business processes from the more low-level technical tasks which usually obfuscate the more high-level intent of a business process.
user
In that passage, there are 4 occurrences of the letter ""."
assistant