Structure is as follows:
Project tab has all of our project records with around 50 fields of project-specific details.
Some project records are categorized as "Original Project" and some are categorized as "Revision"
"Revisions" are linked to their "Original Project"
I want to do the following:
1. Create a new "revision record"
2. Fill out ONLY the fields that will be changing
3. Link the "original project" in the "Original associated project field"
4. When that field is updated, I want an automation to run that will copy and paste fields from the original project record to the revision project record, but ONLY for fields of the revision record that are empty.
Example:
"Original project record" fields/Project info:
Unique Project Number: #557 (Autonumber)
Customer name: John Doe
Solar module: Mission Solar 400W
Quantity: 25
Inverter: Solaredge 7600kW
Project type: Original Project
Associated Original project: None
"Revision project record" fields/Project info
Unique Project Number: #558 (Autonumber)
Customer name:
Solar module: Mission Solar 440W
Quantity: 23
Inverter:
Project type: Revision Project
Associated Original project: #557 (this is a linked field, and I can select the original project from a drop down menu)
So I want the automation to copy the "Customer Name" and "Inverter information" from the Original Project Record to the Revision Project Record. And I want it to trigger when the "Associated Original Project" field is updated and a record is selected and linked.
I have done a handful of automations successfully but this one is really stumping me. Getting the trigger to work is easy. I can't figure out how to get it to copy/paste other fields from the linked record. And then I can't figure out how to get it to only do that when the field is empty.
Thanks so much in advance for any help!!!
I want an automation that will copy fields from a linked record, but only to empty fields
Best answer by Sistema_Aotearo
Hi! Thanks for your response! Is there a way to do this and combine it all into a single automation? Or would I need to create an individual automation for each field? I have about 50 fields I'm trying to do this with.
I haven't tested this, but you could try this option:
Trigger: When Record Matches Conditions
When {Customer Name} [is NOT empty], AND when {Solar Module} [is NOT empty], etc for each field
Action: Find Records, find "Original Project"
Make a conditional step for each Field
1. If {Customer Name} [is empty]
- Update - Input "Original Project" data
2. If {Solar Module} [is empty]
- Update - Input "Original Project" data
Etc for each field
Final Condition: IF {Customer Name}, {Solar Module}, etc [is NOT empty]
- Leave Blank (do nothing)
This, in theory, should run the automation and find a blank to fill, then trigger itself again to find another blank. So the only caveat to this would be that you can't have a blank field in the original being copied over as it'll stop the automation loop from finishing.
Meaning that all fields need to have some data to have the automations cycle through. You could probably make sure the original project has "N/A" in any blanks I suppose?
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
