When creating answers in a CPM script why do I need to re-fetch the answer to associate a product with it?
Process Designer, Custom Process Model (CPM), Service Process Model (SPM)
November 2012 and newer releases
An answer is composed of two parts - a meta answer and an answer record. For the initial creation of an answer the meta answer record is created first.
In the creation of the meta answer product associations are included.
During the creation of the answer record the answer will not include products as this data is stored in the meta record.
When you re-fetch the answer both records will be returned along with the products. The records will be linked together and displayed as a single record.