The workflow doesnt goes to 3rd block, it gets stuck and there is no error or log
@Muddhit_Baid Could you please share a screenshot of your workflows, specifically the 2nd and 3rd blocks?
works when i run the blocks independently
Is it possible the invalid regular expression is hindering it?
I might even go as far as to say that if you are going to be parsing HTML, why not include cheerio
in your workflow?
Hi @Muddhit_Baid! Thanks for reaching out.
It's not shown in your screenshot, but I assume you're calling getNewsContent
with code2.data.message
at the bottom of the code3
block?
I almost wonder if the block is timing out, although we'd likely see an error in that case. I bring it up because the workflow run took almost 82 seconds, which seems like a long time for the logic that's shown.
A couple things to try:
- Increase the block timeout via its "Settings" menu
- Replace the regex matching logic with something like
cheerio
, per @khill-fbmc's suggestion
If neither of those solutions work, can you export the workflow and share it with me? I'd be interested in digging into it a little deeper. Are you on cloud or self-hosted, by the way? If the latter, it could be helpful to know what version and to see your code-executor
container logs.