Showing results for 
Search instead for 
Did you mean: 

Control over approval status

It would be great to be able to control files/items approval status by Flow. I would like to make a flow to a folder, where users selects responsible user for the file. If the chosen user is the same as the files author, I would like the flow to automatically approve the file/changes. If the chosen user is not the author, I would like the flow to send approval email to chosen user. Furhter I would like to only author and selected user see the file/changes until they are approved. 


Here is the idea in meta language:

when item is created || edited{ 
	set approver = selectedUser
	set approvalStatus = pending
	if (creator || editor == approver){
		set approvalStatus = approved
	} else{
		send apporval email to approver
Status: New