Hello,
I have a SP list with friendly dates associated with each item. The SP list also has a "Status" column. I have filtered the information coming in using Filter Query in the "Get Items" action to only pull data that says "Past Due" in the status column. I want to take those items date values and subtract them from the current date. I have the formula for current date in ticks using Compose and a way to get the ticks for the SP list item dates. My problem occurs when I try to subtract the 2 numbers and send them as an HTML. I cannot figure out how to subtract the 2 numbers and when I try to send a basic HTML with the SP date as a tick value I get duplicate entries. For example.... there are 5 past due items and instead of receiving one email with the HTML table listing those 5 items, I receive 5 emails listing the same item 5 times. Any ideas or better solutions that will allow me to add a time of how long an item has been past due based off the current date and items date?

Report
All responses (
Answers (