recreating sharepoint approver workflow in sharepoint online

%3CLINGO-SUB%20id%3D%22lingo-sub-1562527%22%20slang%3D%22en-US%22%3Erecreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562527%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20migrated%20one%20sharepoint%202010%20library%20to%20sharepoint%20online.%3C%2FP%3E%3CP%3EI%20want%20to%20re-write%20approver%20workflow%20of%20sharepoint%202010%20in%20sharepoint%20online.%3C%2FP%3E%3CP%3Emy%20existing%20approver%20workflow%20is%20manual%20workflow%20where%20user%20start%20workflow%20manually%20and%20add%20approvers%20manually%2C%20how%20I%20can%20achieve%20this%20functionality%20in%20sharepoint%20online%20using%20MS%20flow%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1562527%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1562709%22%20slang%3D%22en-US%22%3ERe%3A%20recreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562709%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20would%20use%20Power%20Automate%20(previously%20called%20Flow)%20for%20this.%26nbsp%3B%20You%20can%20generate%20the%20workflow%20template%20from%20within%20your%20specific%20list%20or%20library%20via%20Automate%20--%26gt%3B%20Power%20Automate%20-%26gt%3B%20Create%20a%20Flow.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThis%20will%20then%20render%20the%20right%20most%20panel%20with%20various%20workflow%20templates.%26nbsp%3B%20Scrolling%20down%20to%26nbsp%3B%20one%20called%20%22Complete%20a%20custom%20action%20for%20the%20selected%20item%22%20will%20generate%20the%20right%20SharePoint%20actions%20in%20the%20Workflow%2C%20from%20which%20you%20can%20add%20your%20approval%20logic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20kick%20it%20off%2C%20your%20user%20would%20need%20to%20select%20the%20specific%20item%20and%20then%20access%20the%20Workflow%20via%20the%20same%20Automate%20menu%20item.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%3C%2FP%3E%3CP%3ESteven%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1562820%22%20slang%3D%22en-US%22%3ERe%3A%20recreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562820%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F11625%22%20target%3D%22_blank%22%3E%40Steven%20Andrews%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%20for%20reply!%3C%2FP%3E%3CP%3Ebut%20how%20to%20select%20particular%20Item%20and%20pass%20that%20item%20only%20for%20MS%20flow%2C%3C%2FP%3E%3CP%3EI%20am%20not%20able%20to%20find%20any%20option%20to%20pass%20any%20particular%20selected%20item%20to%20MS%20flow%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1562841%22%20slang%3D%22en-US%22%3ERe%3A%20recreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562841%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20what%20generating%20the%20workflow%20in%20this%20fashion%20will%20set-up%20for%20you.%26nbsp%3B%20The%20first%20two%20steps%20will%20poll%20the%20library%20and%20then%20get%20the%20specific%20file%20details.%26nbsp%3B%20Check%20the%20screenshot%20below.%26nbsp%3B%20You'd%20add%20your%20approval%20logic%20after%20these%20steps%20using%20the%20information%20gathered%20by%20the%20second%20step%20%22Get%20file%20Properties%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThus%2C%20so%20long%20as%20you%20have%20the%20item%20you%20want%20approved%20actively%20selected%20in%20the%20library%20when%20you%20activate%20the%20Flow%2C%20the%20configuration%20below%20ensures%20that%20it%20is%20seen%20in%20any%20steps%20you%20set%20up%20afterwards.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PowerAutomate_SelectedItem.jpg%22%20style%3D%22width%3A%20667px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209985i54EFA2BDC0663B79%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22PowerAutomate_SelectedItem.jpg%22%20alt%3D%22PowerAutomate_SelectedItem.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1565054%22%20slang%3D%22en-US%22%3ERe%3A%20recreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1565054%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F11625%22%20target%3D%22_blank%22%3E%40Steven%20Andrews%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20MS%20flow%20as%20suggested%20but%20in%20my%20library%2C%20when%20I%20selected%20one%20item%2C%20I%20am%20not%20able%20to%20find%20way%20to%20run%20MS%20Flow%20manually%20for%20that%20item%2C%20how%20to%20run%20flow%20Manually%20for%20any%20given%20item.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1570333%22%20slang%3D%22en-US%22%3ERe%3A%20recreating%20sharepoint%20approver%20workflow%20in%20sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20having%20the%20item%20selected%2C%20this%20is%20critical.%26nbsp%3B%20Once%20it%20has%20been%2C%20use%20the%20Automate%20Button%20and%20your%20Flow%20should%20be%20there.%26nbsp%3B%20Have%20a%20look%20at%20the%20Screenshot%20below%20for%20a%20more%20visual%20idea%20on%20where%20to%20look.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ActiveFlowInDocLib.jpg%22%20style%3D%22width%3A%20740px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210611i1C4D39A851650FE0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22ActiveFlowInDocLib.jpg%22%20alt%3D%22ActiveFlowInDocLib.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I have migrated one sharepoint 2010 library to sharepoint online.

I want to re-write approver workflow of sharepoint 2010 in sharepoint online.

my existing approver workflow is manual workflow where user start workflow manually and add approvers manually, how I can achieve this functionality in sharepoint online using MS flow?

5 Replies
Highlighted

@rautchetan27 

You would use Power Automate (previously called Flow) for this.  You can generate the workflow template from within your specific list or library via Automate --> Power Automate -> Create a Flow.

This will then render the right most panel with various workflow templates.  Scrolling down to  one called "Complete a custom action for the selected item" will generate the right SharePoint actions in the Workflow, from which you can add your approval logic.

 

To kick it off, your user would need to select the specific item and then access the Workflow via the same Automate menu item.

 

Hope that helps

Steven

Highlighted

@Steven Andrews 

thanks for reply!

but how to select particular Item and pass that item only for MS flow,

I am not able to find any option to pass any particular selected item to MS flow

Highlighted

@rautchetan27 

 

That's what generating the workflow in this fashion will set-up for you.  The first two steps will poll the library and then get the specific file details.  Check the screenshot below.  You'd add your approval logic after these steps using the information gathered by the second step "Get file Properties"

 

Thus, so long as you have the item you want approved actively selected in the library when you activate the Flow, the configuration below ensures that it is seen in any steps you set up afterwards.

 

PowerAutomate_SelectedItem.jpg

Highlighted

@Steven Andrews 

 

I have created MS flow as suggested but in my library, when I selected one item, I am not able to find way to run MS Flow manually for that item, how to run flow Manually for any given item.

Highlighted

@rautchetan27 

 

Try having the item selected, this is critical.  Once it has been, use the Automate Button and your Flow should be there.  Have a look at the Screenshot below for a more visual idea on where to look.

 

ActiveFlowInDocLib.jpg