#powerautomate #versionhistory #trackcolumnchnages
In this detail video i have gone through the detail of getting previous values vs current values of a list item column when there is any column changes happen inside SharePoint List.
below are the refrence code -
split(replace(replace(string(outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/ColumnHasChanged']),'{',''),'}',''),',')
outputs('Send_an_HTTP_request_to_SharePoint_2')?['body']?[json(item())]
split(replace(replace(string(outputs('Send_an_HTTP_request_to_SharePoint')?['body']),'{',''),'}',''),',')
replace(split(item(),':')[0],'"','')
_api/lists/GetByTitle('Issue tracker')/items()/versions()