Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is App Step greyed out in SharePoint Designer

Office 365 - SharePoint

I have what appears, on the face of it, to be a pretty straightforward List Workflow.

Each document added to the Document Library (List) has two custom columns of type Choice - let's call them User Status and Workflow Status. When the user changes the User Status to value 1 - Send First Email, the Workflow sends an email to the author and changes the Workflow Status to value 1. When the user changes the User Status to value 2 - Send Second Email, the Workflow sends a second email to the author and changes the Workflow Status to value 2. When the user changes the User Status to value 3 - Move Document, the Workflow moves the document to a different Document Library and changes the Workflow Status to value 3.

Over the course of the past month, the Workflow has performed extremely badly. Sometimes (about 65% of the time) it runs correctly to completion. Sometimes it will send the First Email and then do nothing further. Sometimes it will send the Second Email and do nothing further. In both these instances the status of the Workflow remains "Started", with no apparent error messages.

My client is getting extremely annoyed about this (not surprisingly). I have lodged a Support Request with Microsoft and they are trying to get to the bottom of it, but in the meantime I'm trying all sorts of things to get it to work.

So, two questions.

  1. Does this scenario strike a chord with anyone?
  2. In my investigations I've come across something called App Step, which changes (as I understand it) the permission level for the workflow step. However, I seem to be unable to add an App Step to my Workflow because it's greyed out, so I cannot test to see if it solves the problem.

enter image description here

Any help would be greatly appreciated.

Thanks

Edward

like image 553
Edwardo Avatar asked Jan 08 '15 16:01

Edwardo


2 Answers

  1. Must be a site owner.
  2. Must publish the workflow.
  3. Must turn on the Site Feature "Workflow can use app permissions" in the Site Settings > Manage site features.
like image 62
vapcguy Avatar answered Nov 10 '22 01:11

vapcguy


I encountered this as well. I had SharePoint Designer open while I was turning on the App feature for the site. I closed SPD, then re-opened, and the App Step was no longer grayed out on the ribbon.

like image 39
Bob Orf Avatar answered Nov 10 '22 01:11

Bob Orf