cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arslanarif
Helper I
Helper I

Dynamically Create New Records with based on calculated field

Good Day and thank you for your interest. 

 

We have a business requirement where we want to dynamically create a new record based on a specified whole number (calculated column). I tried the apply to each method but maybe I am missing an expression. The calculated column is "Prepaid Periods" i.e.  'crbdd_prepaymentperiods' which ranges between 1-12 represting the months in a year.

 

The scope of the flow is to create a new record (General Ledger entry for financial tracking) for each and every month as calculated by the 'crbdd_prepaymentperiods' column. So if the calculated column is '3'; we would need for the create a new record every month for 3 months. Hopefully thats simple enough. 

 

This is what we have so far, it creates on a single record, but we need it to create a dynamic number of new records based on the calculated item. Any and all help would be much appreciated. 

Regards, Sunny

 

Prepaid Billed Services.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User
Dual Super User

@arslanarif 

I think you need to use do until action to be able to do this dynamic records creation , hope this gives you an idea!

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User
Dual Super User

@arslanarif 

I think you need to use do until action to be able to do this dynamic records creation , hope this gives you an idea!

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
arslanarif
Helper I
Helper I

Got it. Thank You

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,774)