Azure logic app: Java script InlineCodeExecutionTimeout.

Shashank A Mishra 21 Reputation points
2022-12-07T05:36:46.537+00:00

Hi,

we have a Azure logic app integration in which we have used JavaScriptCode type activity to execute a java script inline code.
This code was working fine without any issues from past 3 months but now this activity starts failing with an timeout error.

InlineCodeExecutionTimeout. The inline code action 'JavaScriptCode' exceeeded the execution time limit of '5086' milliseconds.

Through this error message I can understand that the issue starts occurring because now this javascript code starts taking more than 5 seconds.

can anyone let me know if they also faced similar kind of issue and what steps they take to mitigate this issue.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,842 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,471 Reputation points
    2022-12-09T05:09:39.877+00:00

    @Shashank A Mishra Thanks for reaching out. This is the limitation of inline code that needs to be executed within 5 seconds or fewer. In case if your inline code logic takes more than 5 second then you need to offload the execution of the code to azure function.

    The same is documented here.

    268776-image.png

    Let me know if you have any further queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments