Using CRON Expression in Logic Apps Recurrence

R, HemanthKumar 40 Reputation points
2023-11-24T16:33:49.1266667+00:00

Hello,

I am creating a logic app and workflow using Python, where we get the schedule as a cron expression via the UI. Can someone suggest how to use cron expressions in logic apps recurrence? If it is not possible, is there a way to change the cron into recurrence?

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

Accepted answer
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-11-27T08:32:11.79+00:00

    @R, HemanthKumar Thanks for clarifying in more details.

    Unfortunately no there is no out of box feature that can help you in your use case as CORN is directly not supported right now in reoccurrence trigger. You can always pass your feedback to feedback forum if this is something you want to see/support in reoccurrence trigger in future.

    What you can do in your python code is build your custom solution and break the CORN expression to get the {second} {minute} {hour} {day} {month} {day-of-week}based on your user input and dynamically build the recurrence template that logic app understands which has frequency, Interval etc. that I have shared previously so it creates the reoccurrence trigger.

    Feel free to get back to me if you have any queries or concerns.

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    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.