1

I currently have a process builder that creates a new record when certain criteria are met. Is there a way that I can write the ID of the newly created record back to the original record that started the process?

Example of desired behavior:

  1. Process Builder Runs
  2. New record is created
  3. ID of newly created record is written back to a field on original record that started the process

Thanks!

3

With Process Builder, you cannot. Process Builder actions do not store state in the way that you need to do this.

You can do so with Flow. In a Flow, you can capture the Id of a Record Create result back into the originating sObject variable.

If you used an sObject variable to create a single record, the sObject variable’s ID field is updated with the new record’s ID value. If you used an sObject collection to create multiple records, the ID field of each collection item is updated with its matching new record ID value.

You can then use that value to perform an update against the originating record.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.