SharePoint Retention Policy workflow does not start

Hi,
Using Nintex workflows I have created a workflow and attached it to a content type and tested that it runs manually ok.  I want it to run according to a retention policy, and so I created a policy based on one of the content type's date fields to start
my workflow automatically.  When I manually run the timer jobs I see the following error in ULS logs and the workflow does not start.  Interestingly if I amend the policy to do something simple like move the item to the recycle bin, that works fine.
Can anyone suggest what is wrong and where I can go from here to find the issue?
Thanks
Error running the expiration action on item <document url> .  Error:  System.InvalidOperationException:
The workflow with id=<workflow id > is no longer available.    
 at Microsoft.Office.RecordsManagement.PolicyFeatures.WorkflowExpirationAction.RunExpirationWithPostActions(SPListItem
item, XmlNode parametersData, DateTime expireDate)    
 at Microsoft.Office.RecordsManagement.PolicyFeatures.BaseExpirationAction.Microsoft.Office.RecordsManagement.PolicyFeatures.IExpirationActionWithPostActions.OnExpirationWithPostActions(SPListItem
item, XmlNode parametersData, DateTime expireDate)    
 at Microsoft.Office.RecordsManagement.PolicyFeatures.ExpirationTask.ExpirationActionData.RunExpirationAction(SPListItem
item, DateTime expireDate)    
 at Microsoft.Office.RecordsManagement.PolicyFeatures.ExpirationTask.<>c__DisplayClass19.<ProcessExpiredItems>b__17(SPListItem
item)    
 at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code)  
 at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem item, Boolean fIncludeFolderItems,
MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)

Hi,
Based on your description, my understanding is that the Retention Policy cannot start the Nintex workflow.
To narrow the issue scope, I recommend to check the things below:
Create a SharePoint 2010 Reusable workflow for the same content type or 2013 list workflow and modify the Retention Policy to start this workflow, and then check how it works.
Create Retention Policy with the Nintex workflow in another list and then compare the results.
Thanks,
Victoria
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]
Victoria Xia
TechNet Community Support

Similar Messages

  • Sharepoint 2013 workflow does not start when item is created by another workflow

    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when
    de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when de workflow
    in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that
    creates a new item in List B. The problem is that when de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?

    Hi Courfeyrak,
    Here is another similar post with a workaround, you can try using the event receiver on listB item to start the workflow, when the listB item is created or updated by the workflow associated with listA.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/19f71e38-7c04-430e-aa6b-764cbbf18c1c/2013-workflow-does-not-start-on-item-created-by-a-different-worklow?forum=sharepointcustomization
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Workflow Does not Start If Created by Another Workflow

    Hi,
    Hope someone can help me here.
    I am using SharePoint 2013 Server and have created two workflows running on two separate lists (workflow 1 runs on list 1 and workflow 2 runs on list 2).
    Workflow 1 creates an item in List 2. The workflow on list 2 does not kick off when the item is created.
    I have tried both SharePoint Designer 2013 workflow and Visual Studio 2013 no code solutions (I have elevated privileges for the workflow app).
    The link below is what I am experiencing, although there doesn't seem to be a solution.
    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/cb7c2537-ec54-4128-abea-aa5a11cddb54/sharepoint-2013-workflow-does-not-start-when-item-is-created-by-another-workflow?forum=sharepointcustomization
    I am in the process of installing the latest CUs too see if this has been rectified.
    Thanks,
    Nigel

    Hi Nigel,
    Yes, this is the default SharePoint behavior that SharePoint 2013 workflow does not start when item is created by another workflow.
    For a workaround, you can create a event receiver on the List 2 to start the workflow 2 when an item is created.
    Reference:https://social.technet.microsoft.com/Forums/sharepoint/en-US/19f71e38-7c04-430e-aa6b-764cbbf18c1c/2013-workflow-does-not-start-on-item-created-by-a-different-worklow?forum=sharepointcustomization
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/6ee7d704-34c0-4bda-8f2d-8a9ba17c2367/sharepoint-2013-workflow-using-create-item-to-add-an-item-to-another-list-and-have-the-workflow?forum=sharepointcustomization
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Absence request workflow does not start

    Hello, I have created a workflow for absence request and I configured it in transaction PTARQ for my absence type.
    I tried several times making an absence request from portal but the workflow does not start. I have also seen in transaction PTARQ that the request was really made and has status SENT but has no workflow associated.
    Any help?
    Thanks

    Hi Mário,
    Check using transaction SWIA to see if the workflow is actually started by the leave creation (if not could be a problem with the event trigger)? If it is started, you should see in SWIA where the workflow stops/breaks down, normally this is due to missing container elements or bindings.
    Good luck!
    Gareth

  • Workflow does not start when PowerShell Script is run from Task Scheduler

    I have a PS script that updates an item in a SP2010 list so that a workflow will be started.  When I run the PS script manually from the PS window on the server it resides, the script runs flawlessly.  If I set a scheduled task on the same server
    to run the script with the same credentials as are being used in the PS window, the script runs, updated the info on the list, but DOES NOT start the workflow.  As we know, SPD workflows cannot be started by anonymous or system accounts.  It is as
    if the task scheduler adds a bit of information that makes the SP2010 list think the information was updated by one of these accounts even though the field in the list for the item being updated shows the correct account.
    HELP!!!
    D

    Hi,
    The issue might be related to the script or schedule task settings your configured. You’d better check the settings.
    For example, which option do you set to run the scheduled task? You may select “Run whether user is logged on or not” instead of “run only when user is logged on” as shown in this article:
    http://blog.pointbeyond.com/2010/04/23/run-powershell-script-using-windows-server-2008-task-scheduler/
    Hope it helps.
    Best Regards,
    Sally Tang

  • Workflow does not start automatically on create item (yet another time)

    The topic has been discussed broadly throughout different forums, but I didn't find the solution to my issue yet and hope you can help me out with ideas to sidestep the difficulties created by Microsoft.
    I have one list 1 in Site Collection A, and one list 2 in Site Collection B (PWA site collection). I need to copy an item from list 1 to list 2 with some values. I use a "Call http web service" action to accomplish
    that as I need to copy informatin cross site collections.
    The "Call webservice" is in an App Step, because the user creating an item in list 1 does not have permissions on list 2. Thus, my item is created "by workflow" (not "by System Account") in list 2. Now I need a second
    workflow to start on list 2 which will create a project in Project Server.
    As I am working across 2 site collections, I can not use a SharePoint 2010 workflow with impersonation step for list 1 as the "Call a webservice" action is not available for SP2010 workflows and "Copy item" only works in the same site.
    In Nintex I can impersonate the web service call - is this also somehow possible for SPD2013 workflows? Or is there any other possibility to get over this silly restriction of workflows not starting automatically on System account created items? Someway
    perhaps to tweak the App Step in impersonating with another user account?
    Any help appreciated!
    I really can't understand, that this common requirement is still not solved by Microsoft :-(  I found more threads on the topic than I can count, so this seems to happen quite often... at least they should finally offer a proper way of doing some kind
    of impersonation with the calls so we have a chance to change the creating user account.

    Hi,
    As I understand, you would like to use workflow to copy list items cross site collection.
    So far it is not supported with OOB workflow option, here is an codeplex workaround:
    https://spdactivities.codeplex.com/wikipage?title=Copy%20List%20Item%20Extended%20Activity
    Please check if it can be help.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • 2013 workflow does not start on item created by a different worklow

    hi :)
    i have spd created reusable workflow 2010 on a list A creating an item in a list B.
    on that list - B - there is a 2013 spd reusable workflow which is supposed to start on item created but does not.
    the workflow does start manually.
    and it does start when I create an item manually.
    if i check a 2010 wf on the same scenario - it starts o.k.
    the item "created by" is the user who triggered the workflow - not the system account.
    anyone??
    thanks !

    The first thing I'd ask is if the workflow on list b is set to trigger when a new item is created.  If this has been set correctly, I'd try running the step within Workflow A which creates the list items under an impersonation step.  This subs
    in the account details of the workflow author and as such should trigger workflow b.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Workflow does not start on a event: document copied in from another library's workflow.

    I'm using SharePoint Online for Office 365.
    I have a workflow that initiates as soon as a new item is added to a folder. That workflow gets approval from a group of people. Then copies the document to a new folder and deletes the original.
    I have another workflow set to initiate as soon as a new document is created or changed that gets approval from a second set of users and moves the document again.
    Problem: Both workflows work great on their own. The problem i'm having is the second workflow doesn't initiate when the document is moved. There's apparently no way to trigger a workflow from within a workflow. Is there a way to edit the data in the current
    item after it's moved to trigger the second workflow?
    Also, I tried to nest the second workflow within the first but it didn't link the document to the second workflow.
    Any help is appreciated.

    From what I'm told, this is purposeful. It's to protect the user from firing a million workflows on accident. I believe you can run an impersonation step (requires 2010 workflow) on the document moving part and it will then successfully fire.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Workflow does not start for Offline triggered SHC

    Hi,
    I have a problem with getting the Workflow started during offline uploading of shopping cart from XI.
    When I check on the BBP_PD status of the document, and there is no workflow started wherein when Shopping cart is done thru SRM Online, the n-step wfl approval is running correctly.
    Any ideas on where I could check/configure settings to allow workflow to start during Offline upload from XI?
    By the way, a function module BBP_SAPXML1_EXTREQU_UPDATE_IN is called to populate SHC data from Offline to SRM. Thus when this is ran, the document is now in the BBP_PD.
    Thanks!
    Cindy

    Hi Cindy,
    What I feel that you need to  use BADI for this Separate Determination Method for List of Approvers via BAdI BBP_WFL_APPROV_BADI in WS14000133:
    In Start condition,make this BADI trigger in all the cases.Condition should be like
    BUSINESS Object = Shopping Cart
    Then determine the requirement that is shopping cart coming from someother system,that data will be some RFC destination or some generic id..as requirment from Plan driven scenario flow into SRM system with generic id from backend.
    and based on that trigger approval process.
    regards,nishant
    please reward if this helps

  • Workflow does not work properly

    Hi experts,
    I had configure approval process for my folder. The problem is when i upload a file, there is no email sent for approval. I have a FSDB repository. What went wrong? Appreciate any suggestions.
    Thanks,
    Nanie

    Hello,
    Workflow does not start automatically by uploading documents.
    You have to Submit for Approval these documents.
    Regards
    BP

  • Workflow notificaiton mailer Does Not Start, Remains In Status Starting

    Hi Gurus,
    Workflow notification mailer is not getting started and its showing status starting.I have tried to bounce the service componets still its showing starting.My application version is 12.0.6 and OS is AIX.I got a metalink reference"Notification Mailer Does Not Start, Remains In Status Starting [ID 371830.1]".Since its a Productin instance can we try it??Please suggest.Couldnt understand what will be the impact of updating wf_event_subscriptions.Please suggest/help...
    Thank you so much...!!

    994272 wrote:
    Thanks Hussein,
    From the logfile I got the following error.
    [Mar 16, 2013 2:48:36 AM EDT]:1363416516284:-1:-1:ios1402e.idc.ikon.org:10.81.42.25:-1:-1:1:20420:SYSADMIN(0):-1:Thread[GSMQueueProcessor,5,main]:2021231295:40299:1363412471938:4:PROCEDURE:[SVC-GSM-WFALSNRSVC-4786418 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:BEGIN (noEvent)
    [Mar 16, 2013 2:48:36 AM EDT]:1363416516284:-1:-1:ios1402e.idc.ikon.org:10.81.42.25:-1:-1:1:20420:SYSADMIN(0):-1:Thread[GSMQueueProcessor,5,main]:2021231295:40299:1363412471938:4:STATEMENT:[SVC-GSM-WFALSNRSVC-4786418 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:Did not receive any control events.
    ThanksYou can follow the steps in (Notification Mailer Does Not Start, Remains In Status Starting [ID 371830.1]).
    Thanks,
    Hussein

  • Inventory service does not start 610 failed login

    L.S.
    Netware 6.5, SP6
    ZEN 7.01SP1IR1
    Sybase database
    Standalone server
    My inventory service does not start. I've looked around but did not yet find the solution. I did have an error I've read nothing about:
    logger screen: java:Class com.novell.....ZENWorksInventoryservicemanager exited with status -1
    C1, Inventory service object shows 610: database location policy is not configured (but it is)
    NRM: health, failed login: user: .CN=Server package_ZENSERVER:Netware:ZENDateBase.O=context.T= tree
    Any suggestions
    Thomas Roes

    Thomasroes,
    either of these help?
    http://www.novell.com/support/php/se...1%200%20506894
    http://www.novell.com/support/php/se...1%200%20506894
    Shaun Pond

  • My Photoshop Elements does not start any more. It gives response "Photoshop elements cannot start or continue because of missing file(s). Please reinstall." How do I get the installing file again (I bought it via internet the first time december 2013?)

    My Photoshop Elements does not start any more. It gives response "Photoshop elements cannot start or continue because of missing file(s). Please reinstall." How do I get the installing file again (I bought it from Adobe via internet the first time december 2013?)

    Did you download the Basic/Free version?
    I also thought the Trial period was as long as you needed!?
    What is your Warranty and Return Policy?
    You get to use VueScan for as long as you want before you buy it, so we recommend you test it before you buy it to make sure it meets your needs.
    All sales are final and there are no refunds.
    Isn't this a bit harsh? Naah I actually prefer to solve problems, and if I offer refunds, people give up too easily. If I can't solve your problem after you send a few Problem Reports (see above), I'm happy to give a refund.
    http://www.hamrick.com/sup.html#q

  • Integration Process does not start

    Hi guru's
    My scenario is this. From ECC we send Idocs to PI. We have an integration process to receive the idocs because only max 9999 are passed in the port.
    We run just around 11000 CREMAS idocs now.
    The problem is that the integration process does not start on our QA environment while it does start on DEV environment.
    I've run many checks on both environments and they all look the same.
    To name a few:
    * Cache are all green and up-to-date.
    * I checked the WF models which are behind the Integration Process and they are the same.
    * Event correlation is correct in both environments
    * When i test the idocs are correctly sent from ECC to PI.
    However on DEV I see in transaction SXMB_MONI_BPE i see that the integration process is triggered and started. It waits 10 minutes and collects any messages that come in, and then bundles these and sends them on to the receiver.
    On QA i do not see the Integration Process being started. Only records i see in SXMB_MONI_BPE are three work items, 2 completed, 1 ready, all 3 are called waiting for event.
    I'm probably missing some configuration somewhere but what could it be?
    Regards
    Robert

    Hi Eng Swee,
    Thx. I checked it already and it works fine.
    Meanwhile i did do some changes and some retests and now i saw somewhere that all my tests were creating more steps in an already started integration process, that was still waiting.
    I now cleared some old workitems and started afresh.
    What i see now is:
    1)  the BPM process start correctly
    2)  it receives 1 or 2 or 3 or n messages
    3)  it then waits for the deadline to finish, i.e. it should run for 10 minutes and then proceed to the next step which is sending the collected idocs to receiver.
    On DEV the deadline works fine. On QA it doesn't.
    IN SWU3 i have done the customizing and it shows green, so that part is OK.
    Still the deadline is passed and it doesn't have the desired effect on mu BPM process (workflow).
    Are there any other checks i can do to see if the deadline mechanism is properly working?
    Is there a maybe a manual step i can do to trigger the deadline? Then at least i get some information on where the real problem is.
    (Sorry for earlier confusion but i hadnt realized that there was still a process running)
    Regards
    Robert

  • BADI FILTER_F4_ADHOC_AGENT does not start

    Hello,
    I have the following problem. I want to manipulate the search result when adding a new approver.
    The Problem is that the method FILTER_F4_ADHOC_AGENTS build in with BADI does not start. My breakpoint in there is useless.
    On the other hand the method CHECK_INPUT_ADHOC_AGENT runs well. My breakpoints stop in there.
    Now my questions: Where is the call of the method FILTER_F4_ADHOC_AGENTS? And why does not my breakpoint stop there?
    Thanks for any answers.
    Edited by: Rico Scharm on Apr 7, 2010 8:17 PM

    I solved the problem by debugging the search help i found after hours.
    The problem is, I maintained a filter to BUS2121 as usual for the other workflow badis. But when the search help is looking for badis it got no object type. After realizing this I left the badi implementation without any filter. Now it my implementation is triggered.

Maybe you are looking for

  • Error while generating xml file Data Model

    Hi , I am creating data mode in OBIEE through the query builder and trying to generate xml from it but the following exception occurs while generating the XML "The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please corre

  • Loading java file in a java file

    Hi everyone, Sorry this is probably a really simple question, but i'm getting a bit stuck and i can't find anywhere that helps explain how to do it. I've got two files that represent two questionnaires (questionaire 1 and questionnaire 2), depending

  • How to include a structure in a method

    Hi All, when i executed this statement in a method types : BEGIN OF TY_ITAB2.           INCLUDE STRUCTURE LTAP_VB. types :  END OF TY_ITAB2. Syntax Message: Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary types, not

  • Can the WAN port be used as LAN when AirPort Express (2nd Generation) is setup to join a wireless network?

    Can the WAN port be used as LAN when AirPort Express (2nd Generation) is setup to join a wireless network? (IE: 2 LAN ports) I haven't been able to get a clear answer on this. I believe the 1st generation would act as WAN/LAN depending on setting, bu

  • Purchased tv content won't play in itunes on my computer

    No error message. Blank screen. No audio. Content will play on my iphone. I've repaired itunes and quicktime. Other ideas?