is there a way to disable the workflow or plugin automatically?
*This post is locked for comments
is there a way to disable the workflow or plugin automatically?
*This post is locked for comments
Is there anyway to disable from data migration side, I am using kingswaysoft.
You can use the following. Obviously replace the guid with your workflow id.
SetStateRequest deactivateRequest = new SetStateRequest
{
EntityMoniker =
new EntityReference(Workflow.EntityLogicalName, new Guid("62479592-BAF3-43DE-A610-3AEBB4043C00")),
State = new OptionSetValue((int)WorkflowState.Draft),
Status = new OptionSetValue(1)
};
_serviceProxy.Execute(deactivateRequest);
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156