0

I want to change the status of workflow using PowerShell script.

If you go into workflow settings in a library in SharePoint, and click on Remove a workflow, you see the 3 settings I'm referring to: "Allow", "No New Instances", and "Remove".

I'm thinking there must be a way to update these workflow settings from a PowerShell script.

based on four parameters:

Param 1 - Site URL

Param 2 - List/Library Name

Param 3 - Workflow Name

Param 4 - Status of WF ("Allow", "No New Instances", and "Remove")

Does anyone know how?

2
  • Whether you use SharePoint Online or SharePoint Server? Workflow 2010 or workflow 2013? Commented Aug 2, 2021 at 9:52
  • I am using SharePoint online and workflow is 2013 Commented Aug 27, 2021 at 15:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.