0

I am trying to implement escalation mechanism on some List.e.g. if 8 hours have passed and List item is not approved by user then send an escalation email will be sent to manager. How can I run custom code on List every 30 minutes say? Is it possible to accomplish using Custom SharePoint Timer Job?

1
  • 2
    why code! you can achieve it via Flows Feb 19, 2018 at 7:26

2 Answers 2

1

A few options are available:

  1. Flow
  2. PowerShell, hosted locally or on a VM in Azure
  3. Azure function, which can be set to run on a schedule

If the action is relatively simple, I'd go with a Flow. If it's more complicated, I'd go with an Azure Function. Just sending an email sounds like a simple flow.

1
  • You are forgetting one very important option: Using a SharePoint Designer Workflow
    – Toine-L
    Feb 19, 2018 at 14:03
0

You can use SharePoint Designer and use the pause for duration (delay for 8 hours) and use a condition to check if the item is approved. If it isn't, you can send an e-mail via the workflow as well.

If you use SharePoint Designer, it'll be much easier to add some more complex funtions later if needed.

The SharePoint Custom Timer Job you are mentioning is basically the pause for duration action in SharePoint Designer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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