Trigger a Workflow when a date is reached in SharePoint Online

I have created a simple list workflow (SharePoint Online) which emails a user, informing them a Document's
Target Closure Date has been reached. The workflow works fine when started manually.
I want to trigger the workflow only when Target Closure Date matches today's date.
The best solution seemed to be to use a Retention Policy. So I went to:
> Library Settings
> Information Management Policy settings
> Document content type
> ticked 'Enable Retention'
> Time Period:  Target Closure Date + 0 days
> Action:  Start the relevant workflow.
This worked only on two occasions - both were Saturday mornings, at 3.30am and 4.30am. I can see
in this MS article the Expiration Policy timer job only runs weekly on SharePoint 2013, so can anyone confirm that the schedule is the same in SharePoint Online?
If so, is there any way in SharePoint Online I can trigger a workflow when a date is reached?
Thanks for your help,
Alyosha

Hi Alyosha,
According to your description, my understanding is that you want to send an email to a user when the Target Closure Date was reached in SharePoint Online.
The timer job of Retention Policy runs weekly in SharePoint Online, so we cannot use the Retention Policy to trigger the workflow.
As a workaround, I recommend to create a workflow associated with the library to send the email when the Target Closure Date was reached.
Here are the detailed steps:
Create a workflow associated with the library and set the workflow to start when an item is created.
Select Pause until Date to set the workflow to pause until the Target Closure Date.
Select Send an Email.
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • How to trigger a workflow when a bank record of an employee is delimited

    Hi Friends,
      I want to trigger a workflow when a bank record of an employee is delimited(Infotype  IT0009). When delimiting the bank info, the old record's ENDDA is changed and a new record is created with the BEGDA. In this case two events are triggered one is BANKDETAIL-CREATED and other one is BANKDETAIL-DELETED.
    Which one should i use to trigger my workflow.
    Note : If we use the creation of new record for triggering workflow, then in case when the record is created for a new employee then the workflow will be triggered. To control this can we check whether there is an existing entry in IT009 for the employee or not. If an entry already exist then trigger the workflow else not. Is this ok? Please advice.

    Hi sapient,
    Here i think none of the events would actually help you in achieving what you want because you want to trigger the workflow when the account is delimited not when the account is either created or deleted.Please look for some other information to trigger your workflow.Will get back to you if i had any ideas.
    Thanks,
    Bhumika

  • How to trigger a workflow when a info record is changed?

    Hello All,
    I would like to trigger a workflow when the conditions from a info record are changed?
    What business object should be used?
    Thanks in Advance
    Rui

    Hi,
    for these kinds of issues,
    foirst check if a uefull event already exists in the system
    for this you first actiave the event trace: SWELS.
    Then you change the info record.
    And then you read the event log with SWEL.
    If there's no event, you may eventually have to create it in an exit with SAP_WAPI_CREATE_EVENT fm
    Kind regards, Rob Dielemans

  • Trigger the workflow when so delivery is completed

    Hi experts ,
    I  need to  trigger the wokflow if SO  delivery is completed.
    could  anyone  please let me know if any event  is there to trigger the workflow whenever SO delivery is completed.
    Regards ,
    Kiran.

    1. First you need to create a RFC function module in the CRM system, and in that FM call the respective workflow template .
    2. Now you need to define RFC connection between the R/3 and CRM system in SM59 txn.
    3. Now once the connection is established between R/3 and CRM system, then as i mentioned in my preivous reply, plesase call the newly created RFC FM in the CRM system from that method.....
    4. Make sure that first you define connection between R/3 andf CRM, approach your basis consultant to create a RFC connection, and provide the username as WF-bacth and its password correctly , this is because when you call a FM in other system then the repective sytem will ask for the login and password, sisnce Wf-bacth is background user w.r.t to Wrokflows , once you provide wf-bacth and its password in the created connection then you mght not face login problem...
    for Further queries please revert back...

  • How to Trigger a Workflow when work order is created

    HI Everbody,
    Please help me in this.
    When Work order is created , system has to trigger work flow to notify the person who has submiitted the request . Use the Created by field on the associated notification field to identify the person.
    Thanks in Advance,
    Ram.

    Hi Ram,
    May be you can go thro the following links to know more about it.
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/8b753a5e831e45e10000000a114084/frameset.htm
    Work Flow Triggering when purchase order is released
    http://help.sap.com/saphelp_nw04s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/frameset.htm
    Hope these help.
    Regards,
    Raj

  • How to trigger a workflow in webdynpro programs

    Hi Experts,
    I am new to SRM Workflow, and I need to trigger a workflow in my webdynpro programs.
    But I don't know how to achieve it.
    I am using SAP SRM 7.0, so I want to use Process Controlled workflow.
    Any suggestions would be greatly appreciated.
    Thanks and Regards
    Wei

    Hi, thank you for the attention, and my requirement is as below.
    1. Creating a web dynpro program
    2. User can execute the program and input data on it. Such as Expense application, Leave application...
    3. When the user click the "Apply" button on the form, the application should be sent to the boss for approval.
    *** I want to trigger a workflow when the user click the "apply" button.***
    I have achieved the similar functions in SAP ERP systems, by generating Events in my custom programs.
    But I don't konw how to do it in SRM 7.0.
    Or it is impossible to achieve it, under Process Controlled workflow architecture.
    Thanks and Regards
    Wei

  • Triggering a workflow when the payment proposal F110 is confirmed/finished.

    Hi All,
    Please kindly give me your good advices that how can I start to create a workflow for payment proposal F100. The requirement is that after the payment proposal has been confirmed and completed. It needs to be triggered and automatically send out an email notice for the those vendors, the vendor email address is collected from vendor master record FK03.
    I guess it can use REGUH-XVORL, If "X" means that this is proposal record only. If " " means that it's not a proposal record, which should be a confirmed record yet.
    Please kindly instruct me how to get this task done, since I am a fresher SAP and workflow.
    Thank You Very Much.
    JC

    Hi,
    I have exactly the same requirement.  I need to trigger a workflow when the payment proposal is completed. 
    I've been searching for the answer on the internet.  Several people have asked the same question, but I haven't seen any real answer to the question yet. 
    There is no standard SAP business object for payment proposal, there is one for payment request which uses F111.  There is no standard workflow template, the one for payment release is only for releasing individual invoice.  There are answers about restricting the authorisation, it helps, but it doesn't meet all requirements.  We have people create payment proposals in UK for companies in Europe.  We really need a workflow resolution.  Seperating the authorisation will still require the person who created the proposal sending email to people in different countries to approve the payment.
    Two technical problems that we are facing. 
    1. There is no existing business object. I've been told that we should should ABAP Class.  And include the IF_WORKFLOW in the interface.
    2. There is no event created when the payment proposal is completed.  We are working on creating an event.  I've been told to use SWE_EVENT_CREATE function module. 
    If you have more information about how this can be done, or if there is any easier way, please let me know.  I will be very grateful.
    Thanks,
    Manlee

  • Check for duplicate invoices and trigger a workflow

    Hello All,
        I have a requirement to check for duplicate invoices in AP(Accounts payable) and trigger a workflow when duplicate invoices are found. I a not sure how to do any of the above. Please  let me know if you have any information on:
    1) Checking for duplicate invoices in AP
    2) Trigger a workflow
    Are there any standard workflows that checks duplicate invoices?
    Thanks.
    --Mithun

    Hi MD,
    I doubt if system gives an error on FI side when a duplicate invoice is posted.
    I feel you would require a BAdi for it, where you can call your WF using FM SAP_WAPI_START_WORKFLOW.
    Hope it helps.
    Aditya
    P.S also ask your Func Consultants, if there are any settings in the Customization, where you could capture Inv Dt, Inv Amt, Vendor, Company code.
    Edited by: Aditya Varrier on Oct 15, 2008 9:38 AM

  • Dynamic Actions not firing when using date picker?

    The dynamic actions don't seem to be triggering when selecting a date from the date picker, but trigger just fine when the dates are manually entered. Anyone else have this problem and if so is there a workaround to get it to work from the date picker as well? I am using Application Express 4.0.1.00.03
    And how can I report this problem?

    I'm already using Change.
    If it matters, I have it set to:
    Event: Select
    Selection Type: Item
    Condition: No Condition
    My action type is just an alert right now since all I want to do is to see if I can trigger it (as in you have to walk before you can run).
    Event Scope: Live
    Conditon type: Dynamic Action not Conditional
    Authorization Scheme: No Authorization Required

  • "Invalid text value" error when calling a web service from a workflow in SharePoint Online

    I'm trying to create a workflow that loops through a list in SharePoint Online using a REST web service call. However, I'm having
    some trouble trying to pass the authentication token as described in the following article.
    http://www.fabiangwilliams.com/2013/09/03/more-on-sharepoint-2013-r...
    Basically, the workflow stops right at the "Call web service" action, and the only error it tells me is the following.
    Invalid text value.
    A text field contains invalid data. Please check the value and try again
    Has anyone had success with web service calls to SharePoint Online?
    Dan Kreitz, Solutions Architect, Séafra Inc.

    Hi DanPoint,
    Thank you for your sharing!
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Can I use Visual Studio to develop Sharepoint Online workflows on existing site lists?

    I've been using Sharepoint Designer to develop workflows in Sharepoint 2013 on Office 365, but hitting limitations. I would like, for example, to be able to trigger a workflow when a list item is deleted.
    Perhaps naively I thought Visual Studio should be able to help. I've read of useful things like Remote Event Receivers - sounds exactly what I need. I've used VS before for Windows desktop applications in VB, so downloaded a trial version of VS 2013.
    Now I'm having doubts. It looks like I can create a Sharepoint App on a development site and create lists and workflows within it, but I can't access my existing lists to do anything more sophisticated than I already can in SPD. Is that right?
    I was expecting to be able to enter my Sharepoint site URL into Visual Studio somewhere, just like in SPD, and do wonderful things with my lists - but unless I'm missing something, that's not possible.
    Have I just got it completely wrong??!

    Hi,
    yes you can check those links
    http://blogs.msdn.com/b/bharatgupta/archive/2013/04/27/sharepoint-2013-app-workflow-with-custom-task-outcomes-in-o365.aspx
    https://msdn.microsoft.com/en-us/library/office/jj164126.aspx
    http://www.andrewconnell.com/blog/sharepoint-online-integrated-workflow-apps-workflows-as-apps-in-the-hostweb
    https://msdn.microsoft.com/en-US/library/jj220043.aspx
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Call an Non-SharePoint Secured RESTful API from a Workflow in a SharePoint Online Tenant

    I have a scenario where I need to be able to make calls to a secured web service from a SharePoint 2013 workflow that will be deployed in a SharePoint Online (Office 365) environment. It is a REST web service that is secured in a 2-legged OAuth-like manner
    (the service expects a hash of the data being sent that can then be validated on the service's end of the communication). The problem is, I can't figure out how I can hash the data, since I can't run any server-side code in the SharePoint Online environment.
    The way I figured this should work is 1) user creates an item in a List on the SharePoint Site, which kicks off the workflow process. 2) the workflow process takes the user data and hashes it using a client secret assigned by the web service. 3) the
    workflow creates a web request to the web service, passing the data and the hashed values. 4) the web service processes the input and returns. 5) the workflow continues to the next step.
    I can't figure out how to implement step 2 in that process. I thought I could do a custom workflow activity that would accomplish it, but since it would pretty much have to be a code-based activity (i.e., not declarative), it can't be deployed in SharePoint
    Online, according to the domentation I've found. I could potentially add a third layer in the process and have an auto-hosted app that I could call to do the hashing of the data, but that seems to defeat the purpose somewhat from a security perspective.
    Has anyone else run into this kind of scenario? Doing this in an on-premesis environment would be easy, but that's not really an option.
    Thanks!

    You should implement this by passing the values to a public (forms based auth) web method (secure over SSL) that does the hash for you and returns the value to your workflow so that it can pass it on to the other service.
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?

    How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?
    I wish to retrieve sharepoint online data in html page (hosted in windows azure) using javascript and then need to play with AngularJS

    Hi,
    According to your description, you might want to get data from Office 365 SharePoint Online(also known as host web) and pass to the Provider Hosted App which is hosted
    in Windows Azure site.
    I would suggest you take a look at the links below about accessing data from the host web
     for a quick start:
    https://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx#SP15Accessdatafromremoteapp_Codeexample
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Aother sample solution for your reference:
    https://code.msdn.microsoft.com/SharePoint-2013-Get-the-0ec36bb6
    Best regards
    Patrick Liang
    TechNet Community Support

  • Create event in GOS obj to trigger workflow while attaching data with GOS

    Hello experts,
    It is a little bit urgent.
    I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.
    Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".
    The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.
    There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.
    I was trying to create an event for GOS object (Z object not a subtype of any other object) which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as am not so strong in workflow. I ahve just created the event. Do I need to write some code for the event?
    I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.
    Thank you all in advance.

    Hello Arghadip,
    Thank you for replying so early. The table point is very helpful but about the batch job I do not get it. I think the second option is good trigerring event on updation of table. But again I do not know how to do it as I have customized object so have to create the event from the scratch and that, sir, is my main problem.
    Kindly help.
    Thank you

Maybe you are looking for

  • I have lost my I Pod.  What do I do?  Did not have passcode and did notr activate find option.

    I have lost my I Pod Touch. It has no pass code nor did I activate the "find ipod" option. My major concern is that ability of those who might find it to access my facebook and mail. If I simply change password on these two sites will that stop someo

  • Warning! Apostrophes break attachments in 11.1 sp1

    In versions prior to sp1 having an apostrophe in a file name or in a directory path name was not an issue. Now with version 11.1 sp1 these paths will render an "Access Denied" when trying to view. Current resolution is to wait till CM 12 arrives.

  • [SOLVED]"[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid -

    ... remainder is 128" I get this lines since a few weeks on every ~second boot. I can't bypass it or ignore it, just a reset helps. The screen comes right after the mounting of the partitions: The monitor goes black (earlier than with a regular boot)

  • Opinions on gVim as opposed to just Vim

    I'm finally going to learn Vim, and I will have gVim on my system for a graphical text editor to launch out of pcmanfm. I'm just curious whether any of you feel that there's some advantage to using, or at least learning out of, gVim over Vim.

  • Could not read preview - A77

    When connecting my Sony A77 to the computer in order to import photos to Lightroom 3.5 I am not able to doubleclick on the tumbnail to show preview of the thumbnails. The thumbnails are showing, but it seems to be very low resolution, and when double