You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a server running locally to provide some data to use in a workflow. Since the last update (or 2), this is no longer working.
This runs in a javascript block:
asyncfunctionmain(){constautomaNextBlockOrig=automaNextBlock;// Since framework calls this sync, hack to wait for our asyncautomaNextBlock=()=>{};const{
legalEntity,
address,
loanDetails
}=awaitautomaFetch('json',{url: 'http://localhost:3041/data'});automaSetVariable('legalEntity',legalEntity);automaSetVariable('address',address);automaSetVariable('loanDetails',loanDetails);automaNextBlock=automaNextBlockOrig;automaNextBlock();}main();
Note the hack to wait for the async call, maybe this is related to it no longer working?
The text was updated successfully, but these errors were encountered:
Could you please let me know which block you used to execute the JavaScript? Was it the JavaScript block? If it’s convenient for you, could you provide a minimal, anonymized workflow that can reproduce the issue? This would help me pinpoint the problem more quickly.
By the way, if you’re using the JavaScript block, there must be an Active Tab block preceding it.
I think I have found the issue though. I am using this to build a SalesForce application and the workflow works fine on other sites, and used to on my SalesForce app. But it looks like there is some website code preventing this:
Running in the background won't work because I need to use automaSetVariable. I will try the http request block
I have a server running locally to provide some data to use in a workflow. Since the last update (or 2), this is no longer working.
This runs in a javascript block:
Note the hack to wait for the async call, maybe this is related to it no longer working?
The text was updated successfully, but these errors were encountered: