Record Producer

SnowDevOps
Giga Guru

Hello Team

I have a record producer that has 7 custom tables( 1 main table and other 6 extended tables). I didn't do the map-to-field option for each variable. I'm trying to create a flow-in-flow designer. I'm trying to figure out what the flow trigger would be. There is no record producer option on the flow trigger. How would you create the record into these tables when the user fills out the record producer form? This is my first time doing record producer with flow designer. I have done service catalogs many times with Flow Designer. Please help, thanks 

5 REPLIES 5

Jim Coyne
Kilo Patron

Why are you using a Flow with a Record Producer?  You can use the "Script" field to create the main table (which is "current" in that "Script" field) and then the extended table records.

 

You can even call a Script Include to do the work if you want by passing on the "current" and "producer" objects.

 

If you wanted to use a Flow, you'd have to trigger it from the creation of the main table record and, if it is a Task-derived table, use the "variables" object to create the other records.

 

But, I think it would be simpler to keep it within the Record Producer itself, or a Script Include where you could break out the creation of the extra records into separate functions.