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

AddDays - to pick up day to add form field

adddays.PNGI have a lookup colum for Days to send reminder. Sample above, I hardcode -1 days but need it to be auto select from the list.

 

How to modify this?

 

Reminder Prompt Day is form lookup list which I am not able to create compute field to calculate the add days.

 

adddays2.PNG

 

 

 

 

3 REPLIES 3
Community Support
Community Support

Re: AddDays - to pick up day to add form field

Hi @NurNida,

 

What’s the type of column Product ClassificationReminder Prompt vale? Is it of type number?

Please try to enter the code in the formula bar under Expression tab. When configuring the code, you could just select the corresponding dynamic content from Dynamic content tab.

I have made the following test. The code is configured likes below:

formatDateTime(addDays(utcnow(),triggerBody()?['Number']),'yyyy-MM-dd')

 1.PNG

Besides, you could also just copy the part items(‘Apply_to_each’)?[‘Product_x0020_Classification_x00’]?[‘Value’] and replace the dynamic content you selected from the previous action.

Please take a try with both, and feel free post back if you have any questions.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NurNida Helper I
Helper I

Re: AddDays - to pick up day to add form field

Hi       

 

Product ClassificationReminder Prompt is a number.

I have done it as below and it works.

 

2.PNG

 

 

NurNida Helper I
Helper I

Re: AddDays - to pick up day to add form field

Btw, how do I know my output result. 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,812)