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]
Similar Messages
-
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 -
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,
NigelHi 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?
ThanksHi 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 -
I rented a movie and it downloaded but the movie skips and i can hear the words but the picture does not? and now the movie is gone from the library and i only rented it an hour ago? what do i do?
I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item. -
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!!!
DHi,
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 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!
CindyHi 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 -
My PC does not return to the source document I print from
I had a setting control for
this in XP but can't find the page I got it from.<o:p></o:p>
<o:p> </o:p>
In ANY application or browser
this happens. I print from a specific Excel workbook, by example, when I
have a number of them open. The system does not return to the workbook I
printed from. This is maddening and causes all kinds of issues.
Searching the web for this now produces nothing and I know I can't be the
only person who experiences this.<o:p></o:p>
<o:p> </o:p>
This is a Windows 7 platform
in a networked business environment. I'm running the Classic Menu add-in
from Addintools because I can't stand the ribbon and have never liked it.
In Windows 7, I'm running a couple of other add-ins that restore the XP
use of the task bar properly so one can work efficiently.<o:p></o:p>
<o:p> </o:p>
None of the add-ins are what
is causing this issue because I'd run the same Classic Menu add-in on the XP
box and it had the same issue until I found the work-around that I can't
remember now.<o:p></o:p>
<o:p> </o:p>
Has anyone else experienced
this issue?<o:p></o:p>
<o:p> </o:p>
Jeff Lynch<o:p></o:p>Hi,
"I print from a specific Excel workbook, by example, when I
have a number of them open. The system does not return to the workbook I
printed from."
If I'm not misunderstanding, do you mean that the workbook is automatically closed after you print from that workbook, right?
As I know, if we use the default ribbon in Excel, no matter in Windows XP or Windows 7, the opened workbook should be stay opened after you print from that Excel workbook.
So the question is that: what is the version of office? What is the Classic Menu add-in you're running now? Did you manually download and install it to your system? Could you please share a picture with us about the add-ins you're using?
Yolanda Zhu
TechNet Community Support -
Home sharing and trying to copy song from another library not working.
Trying to copy or drag a song from one library to another in the new Itunes 11.0 is not intuitive. The Help comments suggest there is a show button "at bottom of itunes" that will display "songs not in my library" but I don't see that. Anyone else have a clue?
Rd7If you want the old way of copying and dragging, you can enable the sidebar by going to View > Show Sidebar from the menu.
Without the sidebar, you can still copy by mounting your Home Share (although, it's not dragging) and select the item you want to copy and click Import at the bottom bar on the right.
Does this help? -
The disp+work.exe process does not start - after a homogenouse system copy-
Hi there,
after a system copy from 4.6C (windows server 2003/oracle 10.2) to the same the database start and it is running fine but the when I try to start R/3 the process "disp+work.exe" stops after few seconde. The msg_server is running.
Is this a problem of memory? Maybe you have a quick feedback?
Thanks in advance
HanseAtikHi Sharad,
Thanks for your reply. the problem was the password of user SAPR3. Now I changed it vis sqlplus to sap and R/ can start.
Now I am getting the problem that the saplicense is not valid - when I try to login to R/3. This is logic because its from the source system.
My problem now is:
When try install the saplicende vis: saplicense -install
I get the error message:
*SAPLICENSE (Release 46D) ERROR ****
ERROR: Connect to Database failed
Details: DbsIConnect failed with return code 18.
Even "R3trans -d" failed.
Any idea?
Thanks in advance
Hanseatik -
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,
NanieHello,
Workflow does not start automatically by uploading documents.
You have to Submit for Approval these documents.
Regards
BP -
Hi,
on 10g R2 on a Win 2003 server , when I start windows service to start my DB, DB does not start and in event log of Win services I have :
Audit trail: ACTION : 'STARTUP' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: AUTORITE NT\SYSTEM CLIENT TERMINAL: Not Available STATUS: 0 .
When I try to connect in sqlplus I have :
sqlplus sys/***@DB as sysdba
ORA-12518 : listener could not hand off client connection
But I have :
lsnrctl status
Service "DB" has 1 instance(s).
Instance "DB", status UNKNOWN, has 1 handler(s) for this service...
Any idea ?
it is urgent.
Thank you.user522961 wrote:
Hi,
I put this in listener.ora :
DIRECT_HANDOFF_TTC_LISTENER=OFF
and restarted. But always the same probleme :
C:\>set ORACLE_SID=MYDB
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 11 10:44:01 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
Ok. This connection did not use the listener, and so you got a 'connection' but to an 'idle instance'. In other words, the database isn't started. What happens when you go back to this point and isssue 'startup' ?
But :
sqlplus sys/****@mydb as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 11 10:32:38 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12518: TNS:listener could not hand off client connection
This connection uses the listener, but the listener could not hand off the connection due to the fact that the database itself is not started, as evidenced by your previous connection.
As I stated in an earlier reply. Forget about the listener for now. Your database is not started, so the listener is irrelevant.
It can not be a problem of number of process (>150) because the database is not started.That's right. The database is not started. You must solve that first.
Any idea ? Thanks.
Maybe you are looking for
-
My Facetime will not work on my Macbook Pro. This has always worked in the past and now all the sudden it says that I have encountered a problem with the server and registration. I tried to check the date and time zone which is correct and I have no
-
Hard Drive (western digital) no longer mounting..?
Hi guys. I have yet to find any resolution to a new problem I've been having with my Western Digital Hard Drive. I've had it for about 6 months. Has run with no problems, until recently. I have been running it on my Macbook Pro 2.66 GHz Intel Core i7
-
How Do I Rid Myself Of This File?
I made the mistake of downloading the file sharing program Aquisition. Upon realizing that is was a pay program I attempted to delete it. However, I cannot do so. I never installed it, yet when I attempt to empty the trash it says that the program is
-
To default the Bill_To_Location in PO Form
Hi all, I need to make the Bill_To_Location address to be defaulted from the Financial Options in Oracel Purchasing.This should not be override by the Supplier or Supplier Site.I tried this by Perosnalizing but the performance of the form is being sl
-
I am looking for any official SAP information on the limitations of transaction volume supported by B1. I have a client that will be recieving 10,000 web orders per day, of one or two lines on each order. B1 can likely handle taking these orders thro