The CreatorCon Call for Content is officially open! Get started here.

Difference between a Record Producer and a Composite Record Producer

tahnalos
Kilo Sage

Does anyone know what the difference is between a regular Record Producer and a Composite Record Producer?

 

Thanks

10 REPLIES 10

But where do you create the multiple records?  That's what I'm wondering.  So far, creating multiple records in a composite record producer is no different than creating them in a regular record producer as these records are currently being created by script.  Is there a functionality that is supposed to handle the record creation that I am unaware of?

Hi tahnalos,

The lack of documentation on the CRP in the SN Docs is astounding.

I had to dig deep AND play around to find:

 

When you create a Composite Record Producer, a new Related Link called "Create a producer set" appears.

Selecting it creates a new "special" type of variable set (item_option_new_producer_set) linked to your CRP where you specify a secondary table and the field name inside the secondary table to contain the reference back to your primary record.

 

Just like the sketchy documentation, the implementation seems shaky too:

You can create more than just one Producer set, but so far I cannot get it to produce a third record when I have 2 producer sets.

 

Just wanted to add that in a Vancouver version instance, I pressed the "Create a producer set" related link twice, thus have added two "Produce Set"s to the Composite Record Producer, each Producer Set with its own table - and it did create two additional records (so 3 in total) in two additional tables.

DorianK
Tera Expert

I am still looking for a good answer BUT Composite RPs are used for UI Builder experiences and have "producer sets" that allow you to link m2m records together during creation. I would love some more documentation on this though and if anyone has created a widget for service portal to re-use composite RPs (I know you can natively load the RP but not the pretties to show variable producer sets)

Admin Pro
Tera Contributor

Here is a great document that shows cases of how composite producers are used.

https://developer.servicenow.com/dev.do#!/reference/next-experience/utah/now-components/sn-catalog-w...