web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Generating Dataverse R...
Power Automate
Unanswered

Generating Dataverse Records

(0) ShareShare
ReportReport
Posted on by 40

I need some help on creating a flow for this. 

 

Given the following requirements:

Frequency - Number of records

Interval (In Years)

 

How do you generate Dataverse records based on that using an on-demand flow given that those fields are dynamic? I know for sure you can't use Delay as it only works for 30 days. I've used Do-Until to run until the number of records are met but I don't know how to distribute them over a given Interval. 

 

Appreciate your thoughts. 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,768 Most Valuable Professional on at

    Hi @mkxx96,

     

    You could use a range function to create an array of the Frequency - number of records. Within an apply to each you can loop through those items and calculate the interval of the current item and add it to a new row.

     

    Below is an example

     

    1. A range function in the apply to each

    range(1,triggerBody()['number'])

     

    2. Multiply the current item with the frequency and add it to the current year to find the next interval year.

    add(int(utcNow('yyyy')), mul(item(),triggerBody()['number_1']))

     

    range_multiplyinterval.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard