@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
@HNB said in Thread ending successfully before the real end of the script:
Hello,
My script end at the middle with success message like this :
How to know where? there is no line number.
Use the "Execute code" action at the beginning of the script with the code:
_sa = function(id)
{
log(id)
ScriptWorker.SetCurrentAction(id)
}