SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

Workflow to publish major version #7624

Open AlexRademeyer opened 2 years ago

AlexRademeyer commented 2 years ago

What type of issue is this?

other

What SharePoint development model, framework, SDK or API is this about?

not applicable

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

Issue description

Previous issue (#6236 ) closed without answer or solution (happy new year........) so i am re-opening here.

Sharepoint 2010 workflows had the option to start a workflow to publish a major version of a document.

This workflow could be easily enabled and configured by any site administrator (no need to hire consultants in order to activate a workflow....).

Microsoft have removed this simple workflow but I don't see a replacement for it. what am I missing?

Can you please show me how to enable an equivalent of this workflow now that Microsoft have disabled it?

And/or how to migrate my existing workflows of this kind to Power Automate?

Thanks, Alex

ghost commented 2 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

M365Bass commented 2 years ago

Hi @AlexRademeyer - I believe you're after the check-in file action in Power Automate which supports setting the check in type to Major version. Keep in mind that your file needs to be already checked out for this to work.

image