Forum Discussion

rautchetan27's avatar
rautchetan27
Brass Contributor
Aug 03, 2020

recreating sharepoint approver workflow in sharepoint online

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?

  • 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

    • rautchetan27's avatar
      rautchetan27
      Brass Contributor

      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

      • Steven Andrews's avatar
        Steven Andrews
        Iron Contributor

        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.

         

Resources