If I do a task.create with a try and catch I will ...
# suitescript
s
If I do a task.create with a try and catch I will know if the task is already running but I need to create it. Is there's a way to simply verify if the script is running without create ?
b
s
Excellent. One more question. I'm user A, I start the script "Create Orders" . Then user B want to start "Create Orders" but it's already running for User A. Will netsuite notify User B that User A is already running it ? Or will is start it again for User B ? Thanks a lot
b
it will do neither
you probably already know what the error looks like and it does not say which user created the task
s
yes. But only one instance of the script will run . Right ?
b
depends on how you create the task and how many deployments there are