Converting Script from Button trigger to automation

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

I have a script to generate task lists via a button trigger based on the "Create records for multiple templates" script in Marketplace Extensions. I have one extra field added.

I have moved everyone in my organization to interfaces and removed them from the base. They cannot click a button to run a script from an interface.

I was attempting to change it to an automation. When {Status} is updated, run a script. When I copy/paste the current script, it errors. I know next to nothing about code, so it was really challenging to create the first scenario.

I suspect that the input.config are the issues, because there is nowhere to input in the automation. Also, not sure how to create the selected event.

Can anyone help me with how to update to work in an automation? It's a major part of our workflow.

1 Reply 1
5 - Automation Enthusiast
5 - Automation Enthusiast

Okay, so I rewrote it and got it to run with no errors, but it isn't actually adding the records. Any thoughts on where to look for that?