Hi @GDJL ,
Could you please share a bit more about your scenario?
Do you want to check if action item is overdue based on the Due Date and the BP Actions column?
Further, do you want to update the another colum value (e.g. Comments) for the overdue action item?
Based on the needs that you mentioned, I assume that you want to check if action item is overdue based on the Due Date and the BP Actions column, and want to update the another colum value (e.g. Comments) for the overdue action item, is it true?
I have made a test on my side, please take a try with the following workaround (set the OnSelect property of the Button control to following😞
ForAll(
RenameColumns( 'YourTable', "PrimaryKeyColumn", "PrimaryKeyColumn1")
If(
'Due Date' < Today() && 'BP Actions' = "Completed", /* <-- Check if current loop item is overdue */
Patch(
'YourTable',
LookUp('YourTable', PrimaryKeyColumn = PrimaryKeyColumn1),
{
Comments: "This Item has been overdue"
}
)
)
)
Note: The PrimaryKeyColumn represents the Primary column in your Table.
More details about ForAll function and Patch function, please check the following article:
ForAll function, Patch function
Best regards,