Standard Logic App -SlidingWindow trigger - WorkflowRunActionInputsInvalidProperty In-line code cannot find csx file to run

Nepal, Ashesh 20 Reputation points
2025-06-05T13:55:36.17+00:00

I'm encountering an issue with Azure Logic Apps when using the sliding window trigger. Specifically, my workflow fails with the following error:

WorkflowRunActionInputsInvalidProperty. The action '<action_name>' cannot find the csx file to run.

I have verified that the CSX file exists in my workflow folder using Kudu multiple times. Additionally, I have tried restarting the logic app, but the issue persists.

Interestingly, when I switch to the recurrence trigger, the problem disappears and the workflow functions as expected, without the CSX file access error.

Has anyone else experienced this issue with the sliding window trigger?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
{count} votes

Accepted answer
  1. Khadeer Ali 5,990 Reputation points Microsoft External Staff Moderator
    2025-06-05T16:51:57.91+00:00

    @Nepal, Ashesh ,

    Thanks for reaching out.

    The sliding window trigger in Logic Apps Standard can fail to find .csx files because it fires immediately, sometimes before the file system is fully initialized. This might cause a race condition where the script file isn't yet accessible. In contrast, the recurrence trigger waits for a scheduled interval, allowing the environment to fully load, which is why it works reliably with .csx files.
    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.