You need to sign in to do that
Don't have an account?
Vladimir Bessonov
Is it possible to create many records with process builder?
Hi. Everyone.
I wonder if it is possible to create many records with process builder.
My case is I have a project config.
Then I create a project record itself, I use a lookup field to find the available configs.
In this configs I have numbers of records I need to create and some other data related to the records I need to create: Serial number (it will be entered later manually), supplier, supplier part name, other descripiton, etc.
I know it is possible to do it with Apex code, but I wanted to keep it simple - use declarative programming.
I wonder if it is possible to create many records with process builder.
My case is I have a project config.
Then I create a project record itself, I use a lookup field to find the available configs.
In this configs I have numbers of records I need to create and some other data related to the records I need to create: Serial number (it will be entered later manually), supplier, supplier part name, other descripiton, etc.
I know it is possible to do it with Apex code, but I wanted to keep it simple - use declarative programming.
Go to process builder, create a new process.
Add object -> select "Contact".
Start the process -> "When a record is created or edited"
Add Criteria
Set Criteria Name (to check for the new record)
Criteria for Executing Actions -> "Formula Evaluates to true"
Function -> Logical -> ISNEW()
Save
Immediate Action (if true)
Create record, select Fee__c -> assign values to all appropriate fields (either prefixed values or reference values from newly created contact record)
If the first condition is false
Add Another criteria ( to check if Semester__c is changed or not)
Set Criteria Name (to check for updated field)
Criteria for Executing Actions -> "Formula Evaluates to true"
Function -> Logical -> ISCHANGED()
replace "field" with "Semester__c"
save
Immediate Action (if true)
Create record, select Fee__c -> assign values to all appropriate fields (either prefixed values of reference values from newly created contact record)
For further reference check this too,
https://www.sfdcpanther.com/create-update-records-using-process-builder-and-auto-launched-lightning-flow/
You can create and update multiple records using process builder
Here is the example:-
https://www.packtpub.com/books/content/auto-updating-child-records-process-builder
you can add multiple things in the process builder using this example.
Hope this helps you.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
part 1,
part 2,
part 3, etc that will be related to the project record. Not seceral fields of the same record.
I understand that I can trigger and execude apex class..
You can raise an Idea, Based on the Votes it will be implemented in the future.
Thanks.