Re: How wait to script full execution, then go to next step

257 0
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello friends

I have a script, that makes queries and record update,  after that I have Google Calendar Sync, 
Calendar Dates are dependent on Script results. 

I tried await keyword in front of record update statement and the timeout end of the script, but Calendar Sync executes before the script ends, how i can solve this problem, any ideas?

2 Replies 2

Hmm, it sounds like you're updating the record, then using that updated record's data for your Google Calendar action, is that right?

If so, what if you output the data you needed from the script action and used those instead? 

Thank you for your replay,

except for output from the script, I added another step that queries by updated record ID and gets updated values