Skip to main content
Nintex Community Menu Bar

Inactive Workflows Listed in Item Edit Menu - SP13

  • December 14, 2016
  • 4 replies
  • 7 views

Forum|alt.badge.img+8

Hello 

On a SP13 list, you can click the 3 dots on the linked item but sometimes it collects multiple “workflow” options in the drop down and you have to check each one to see which one is valid. I have learned that you can go into list settings and rename the active one so that you can tell them apart but the old ones are still in the list as inactive options. Is there a good way to clean this up so only the one active one is listed? Thanks!

197013_pastedImage_1.png

4 replies

Forum|alt.badge.img+14
  • Scholar
  • December 15, 2016

I think this could help you  

it looks like you have for unknown reason allowed create instances for previous versions of a workflow


Forum|alt.badge.img+11
  • Nintex Partner
  • December 20, 2016

Or someone just had fun with custom actions silly.png

Open your list in SharePoint Designer and see if there are custom actions created that could explain what you are seeing in the list item menu.

Cheers

Philipp


Forum|alt.badge.img+8
  • Author
  • December 20, 2016

Unfortunately, my company does not grant me SP designer access. Thanks for the reply though.


Forum|alt.badge.img+11
  • Nintex Partner
  • December 20, 2016

I would not say "unfortunately" in this case. I wished this this policy would be communicated as a best practice by Microsoft... Thumbs up for your company wink.png

However, we can also use PowerShell in this case.

Getting all custom actions for the list:

$web = Get-SPWeb http://paul.dev.local/sites/dev/
$list = $web.GetListFromUrl('http://paul.dev.local/sites/dev/Lists/XXX/AllItems.aspx')
$customActions = $list.UserCustomActions

foreach($ca in $customActions)
{
    $ca | select Title, Description, ID
}

Deleting a specific custom action via powershell:

$ca = $list.UserCustomActions.Item('XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX')
$ca.Delete()

Where XXX-XX... is the ID of the custom action you receive from step one.

Cheers

Philipp