Re: Input scripting

694 1
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast


as far as I understood I cannot pass an input when I call a script.
Am I right ?
I have a table A with 3 fields id, name, description
I have a table B with 3 fields name, id (link with the table A) and single select (template, todo …)

Each time there is a new record in A I want to create records in B with = for each record b.template. for those records the single select will not be template but todo.

I hope it is clear :frowning:
Thanks for your help

3 Replies 3

No. This is an incorrect assumption.

Calling script from a button (for example) will pass the record ID by default if – and only if – the script is prepared to receive it as an input like this:

let record = await input.recordAsync('Pick a record', table);

This is ideal since it allows you to fire the script without input and also with input should the occasion arise.

Hello @Bill.French,
thanks for your answer. I tried and it is perfect thanks.

I have another quick question.
I want to create a record in a table, but one of the fields is a link to another table.

I tried to format it but I did not manage.

can you help me with this please ?


4 - Data Explorer
4 - Data Explorer

thanks for make a good solution
that works
roomme,best regards