Skip to main content

I'm very excited to see the new Scheduling features for O365 Workflows. As first read from Tee Up Your Work - Scheduled Workflows Are Available for Office 365!‌ we learned the basics of scheduling site workflows. So I ran a few site workflows myself and could not find the history that they executed. My first test workflow would send me an email, since I received the email I knew it was working. But there was no evidence. Typically, I would go to Site Contents from the suite menu gear, then click on Site Workflows.

205911_pastedImage_1.png

I then see my normal screen of available site workflows to run, and which are still running or completed. Notice in this view I don't see anything in the completed section, yet I had the Email Site Workflow scheduled to run and it executed.

205912_pastedImage_2.png

What I found was, by clicking on Show All Workflows, I then see the completed scheduled workflows.

205913_pastedImage_5.png

 

Clicking on the workflow name will then display the workflow history associated.

 

205914_pastedImage_6.png

 

The reason this was required is that the workflow executed under elevated App permissions. Notice the userID is app@sharepoint. So by selecting to show all site workflows I then could see workflows completed by the system.

 

 

A couple of key notes to follow:

  1. Keep in mind you can disable these schedules and schedule data will be retained for 90 days after the final execution so you can quickly reference your prior work. This means specifically the schedule rules for the workflow from the workflow gallery. This is not related to History data.
  2. History for each workflow instance is saved to the history list specified in the workflow settings, typically the default site workflow history list. In SharePoint Online, the Workflow Auto Cleanup job permanently deletes workflow instances and related task entries that still exist 60 days after a workflow is completed or canceled. You can regularly export the workflow history list if you need to save the workflow history for longer than 60 days, or contact your Farm Administrator to reconfigure job settings.
  3. To view the default site workflow history list

    Append the following to your site URL:

    /Lists/Workflow%20History
    For example, if your site URL is https://example.sharepoint.com/sites/hr, then the appended URL appears as follows.
    https://example.sharepoint.com/sites/hr/Lists/Workflow%20History

  4. To enable scheduled workflows, the following SharePoint site feature must be activated by your site administrator:

    Workflows can use app permissions

    Workflowsuseapp.png

    This feature remains inactive until it is activated.

Great post, ‌ - I was curious about this! Thanks!


Hi Andrew ,

please check on this... http://help.nintex.com/en-US/nintex2013/help/Workflow/RootCategory/SharePoint/Nintex.Workflow.ManageHistoryLists.htm 

Thanks

Bashya Rajan


Reply