3

Context: I have a list that we use as a sort of newsfeed. I have a workflow which, when an item is created on the newsfeed, copies the contents into a new list item on a secondary list.

What I am trying to do is this: Every Monday, take all of the contents of the secondary list, compile them into an email, and then clear the list. It essentially sends out a weekly compilation of the news.

Is there a way I can have it check if today is Monday, do actions? Thanks!

  • Please check here... they are checking for the Saturday & Sunday in workflow.. You can change it for Monday as per your requirement...documentmanagementworkflowinfo.com/sample-sharepoint-workflows/… – Hardik Jun 14 '16 at 15:28
  • are you using SharePoint 2013 workflows? – Mike Jun 14 '16 at 15:30
  • My suggestion for this is, you should use Timer Job instead of Workflow. – Hardik Jun 14 '16 at 15:32
2

The OOTB way to do this would be to create your workflow as you want it and add a stage at the end. In this stage put in a Pause action. You can set this for 7 day (or 168 hours). For your Transition to stage, have it redirect back up to the first stage.

The downside of this would be that you have to manually start it that first time on Monday. It would also be one continuous workflow rather than it being ran separately once a week.

  • I think you got your answer...right? – Hardik Jun 14 '16 at 15:34
  • Yes, I will mark it as soon as I can. – Christopher Jun 14 '16 at 15:36
5

I wouldn't do this with workflow, I would do this in a PowerShell script that runs on the server, set it up in a Task Scheduler, and let it run every Monday. The script would kick off the workflow that you want, or alternatively use the PowerShell script to compile and send the email instead of the workflow.

  • I like this solution as well, but I am not on a local sharepoint server – Christopher Jun 14 '16 at 15:45
  • You don't have to be, but its definitely easier. This is Sharepoint Online? – Mike Jun 14 '16 at 16:07
  • Yes it is, I am not so familiar – Christopher Jun 14 '16 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.