Skip to main content
Nintex Community Menu Bar

Inactive Workflows Listed in Item Edit Menu - SP13

  • Dec 14, 2016 10:12 PM UTC
  • 4 replies
  • 12 views
  • Translate All

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
  • Dec 15, 2016 9:07 PM UTC

I think this could help you  

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

Translate

Forum|alt.badge.img+11
  • Nintex Partner
  • Dec 20, 2016 8:22 AM UTC

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

Translate

Forum|alt.badge.img+8
  • Author
  • Dec 20, 2016 1:05 PM UTC

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

Translate

Forum|alt.badge.img+11
  • Nintex Partner
  • Dec 20, 2016 1:26 PM UTC

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

Translate