How to create approval flow for modern news app?

%3CLINGO-SUB%20id%3D%22lingo-sub-182935%22%20slang%3D%22en-US%22%3EHow%20to%20create%20approval%20flow%20for%20modern%20news%20app%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182935%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20create%20an%20approval%20flow%20so%20each%20time%20when%20a%20editor%20adds%20a%20news%20the%20editor-chief%20gets%20an%20email%20asking%20for%20approval.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20suceessed%20with%20half%20of%20the%20flow%2C%20that%20is%20the%20editor-chief%20gets%20the%20email%20and%20can%20approve%20or%20reject.%26nbsp%3B%3C%2FP%3E%3CP%3EWell%20the%20problem%20is%20in%20the%20flow%20itself.%20When%20an%20editor%20click%20on%20add%20news%20a%20new%20page%20is%20created%20in%20the%20Site%20Pages%20folder%20and%20it%20gets%20a%20temporary%20name%20like%20eret213.aspx.%20Since%20this%20page%20is%20created%20as%20soon%20as%20the%20user%20click%20on%20add%20news%2C%20the%20flow%20gets%20fired%20and%20uses%26nbsp%3Bthis%20temporary%26nbsp%3Bname%2C%20the%20result%20is%20that%20when%20the%20chief%20approve%20the%20page%20is%20actually%20approving%20the%26nbsp%3B%3CSPAN%3Eeret213.aspx%20page%20which%20doesn't%20exists%20in%20the%20Site%20Pages%20anymore.%20The%20name%20of%20the%20page%20change%20when%20the%20user%20click%20on%20save%20as%20draft%20(the%20name%20of%20the%20page%20change%20to%20match%20the%20header%20of%20the%20page).%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%20the%20question%20is%20how%20to%20get%20the%20flow%20fired%20when%20the%20page%20saves%20as%20draft%3F%20which%20is%20when%20the%20page%20gets%20the%20real%20name%20(and%20url).%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%20regards%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAmerico%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-182935%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Contributor

Hi,

I am trying to create an approval flow so each time when a editor adds a news the editor-chief gets an email asking for approval. 

I have suceessed with half of the flow, that is the editor-chief gets the email and can approve or reject. 

Well the problem is in the flow itself. When an editor click on add news a new page is created in the Site Pages folder and it gets a temporary name like eret213.aspx. Since this page is created as soon as the user click on add news, the flow gets fired and uses this temporary name, the result is that when the chief approve the page is actually approving the eret213.aspx page which doesn't exists in the Site Pages anymore. The name of the page change when the user click on save as draft (the name of the page change to match the header of the page). 

So the question is how to get the flow fired when the page saves as draft? which is when the page gets the real name (and url). 

Best regards

Americo

 

0 Replies