Question

First, thanks for the help. I have looked, but cannot seem to find a solution. I figure this question has been asked, so I apologize for asking a repeat.

New to SharePoint, so here's my best description.

Office 365, SharePoint 2013. In SharePoint Designer I have created a new, very simple workflow that sends an email to the AssignedTo: person. My email works, looks very nice and has all the information (including Description, CreatedBy, and a link to the task).

However, the workflow only fires after I go in and press "Publish Workflow." I have the following checked; "Manually start this workflow," "Start workflow when item is changed," "Start workflow when item is created."

UPDATE - Here is where the problem occurs. After Publishing, the workflow fires one time, then notifications stop. Example, I create a new task and the notification does NOT occur. If I publish the workflow, the notification email is sent properly. However, subsequent emails for new tasks or updating of tasks are never delivered (until I publish the workflow again, then they all go out).

It's got to be a setting somewhere or I'm missing something. I appreciate the help.

Was it helpful?

Solution

This is by design.

While you are working on your workflow and creating it, it is not available for the list/library. Publishing it saves your changes and makes it available. After you click that button:

  1. you should see the workflow under Ribbon>List>Workflow Settings.
  2. the workflow should start automatically on every created item
  3. the workflow should start automatically whenever you change an item
  4. when you go to an item>...>workflows>you should be able to see the workflow and start it manually

What effect did you want to achieve before publishing the workflow? Did you want to test partial functionality?

OTHER TIPS

That is exactly how it is supposed to be.

See it as two stages:

Stage 1: "Save" only (development)

While you develop your workflow you want to save it as often as possible so that you don't lose what you have developed in the case that SPD or your computer crashes. But you also don't want that items trigger your unfinished workflow. Saving the workflow really just saves it but won't attach it to the items.

Stage 2: "Save & Publish" (ready for testing or production)

You have developed your workflow and now you want to deploy it, either for testing or production. Once you Save & Publish your workflow, the items in your list will be able to trigger your workflow.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top