can we set approval before record producer creating target record?

Manikantahere
Tera Contributor

I want to create record only when approved otherwise should not ? is there any way we can achieve this?

2 REPLIES 2

Mark Manders
Mega Patron

No, you can't. The record producer is creating the record. It's not storing that data somewhere that it can be approved.

What is your business case? Why not just approve the record? What's the difference between approving a record or the variables filled on a record producer? 
If it needs to be approved before creating, why not create it in a draft state, put an approval on that, and then set it to 'new', 'approved' or whatever.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Tushar
Kilo Sage
Kilo Sage

Hi @Manikantahere -

 

Create a "Dummy" Table: This table will temporarily hold the record's data and will not be the final destination of the record and it will have a reference to the approval record, which can be an approval request or a custom approval field.

 

Once the approval is set to true, the system will then trigger the creation of the real record in the target table.

can be done using a BR or Flow to create the real record in the target table.

 

Thanks.