Skip Navigation
Expand
Custom Process scripts and answer create with regard to products
Answer ID 6704   |   Last Review Date 07/22/2019

When creating answers in a CPM script why do I need to re-fetch the answer to associate a product with it?

Environment:

Process Designer, Custom Process Model (CPM), Service Process Model (SPM)
November 2012 and newer releases

Resolution:

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.

 

 

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.