Jun 13, 2022 12:36 PM
I apologize if I missed this out there, but I tried searching for a similar answer but couldn’t find one that matched exactly or I could learn enough from. Unfortunately my knowledge of script language is borderline zero.
High-level explanation:
I have a multi-stage project process that I am starting to build in Airtable that I am curious if am automation is possible, where a button can automatically create tasks from templates as you work through a project.
Details:
Currently my process has 2 main components, the Submission/Review process and the Launch process, with a task table for each process linked respectively.
The tables are laid out like this:
My ideal scenario is that there is a button field, so it shows in each record, titled Create Tasks. I am hoping that button does the following:
I tried using the create multiple records script from Airtable, but I couldn’t figure out how to make it work in the way I am hoping for and without having to force users to select the record in the script dashboard.
I don’t mind spending the hours needed to learn script to do it but I wanted to see if my idea was even feasible in the first place
Solved! Go to Solution.
Jun 13, 2022 08:27 PM
Hi Jeff, I think you don’t need to use scripts either. Check this base out
How it works:
Projects
table, with the assumption that each project’s name will be unique, and select the Process Type
valueTask Templates
table that have the same Process Type
and then links them to the record from the previous step
Name
and Process Type
fields are not emptyText for Pasting
that creates unique comma separated valuesText for Pasting
and put it into field that links to Tasks
, creating those records
Text for Pasting
and Name
fields are not empty, and the Create Tasks
field is checked
With this logic, you should be able to customize it to send tasks to the different tables fairly easily
Let me know if you could use help setting this up!
Jun 13, 2022 08:27 PM
Hi Jeff, I think you don’t need to use scripts either. Check this base out
How it works:
Projects
table, with the assumption that each project’s name will be unique, and select the Process Type
valueTask Templates
table that have the same Process Type
and then links them to the record from the previous step
Name
and Process Type
fields are not emptyText for Pasting
that creates unique comma separated valuesText for Pasting
and put it into field that links to Tasks
, creating those records
Text for Pasting
and Name
fields are not empty, and the Create Tasks
field is checked
With this logic, you should be able to customize it to send tasks to the different tables fairly easily
Let me know if you could use help setting this up!
Jun 23, 2022 09:20 AM
@Adam_TheTimeSavingCo please share the formula you used to create the unique list from the linked Task names
Update:
I used: SUBSTITUTE({Linked Tasks} & ’ (’ & {Project Name}&‘)’, ‘,’,’ (’ & {Project Name} & ‘)’& ‘,’)
Jun 23, 2022 06:19 PM
Hey Mark, here’s the formula:
IF(
{Task Templates} != "",
{Name} &
" - " &
SUBSTITUTE(
{Task Templates},
",",
"," & {Name} & " - "
)
)
For future reference, you can duplicate the base to see all the formulas used!