Will updated workflow affects previous items in list?
Hi All,
I have list form associate with list workflow and contains more than 10 items where workflow status for all is in In-progress.
Once i update current workflow, will affect previous 10 items or not?
Hi,
According to your post, my understanding is that you wanted to know whether it would affect the existed in-progress workflow if updated the workflow action.
It would no effect when you updated the action if the workflow had been executed.
When you start the workflow, the workflow had been executed, when you publish a new version workflow, it would has no effect for the started workflow.
It only work for the items which executed the workflow after publishing the new version workflow.
If you stop the workflow for the in-progress items, then you restart the workflow, it would start the updated workflow.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Similar Messages
-
After updating workflow definition , previous version keeps running.
Hi experts,
After adding/removing a task, saving and activating - previous "version" keeps running.
No different versions maintained, only one (0000).
Originally i had one send mail task. I added another one and received mails from both. Then I removed the original one. Workflow builder shows the new structure but when running seems like the old one is still working - i keep getting mails from both send mail tasks.
I tried to refresh buffers, save and activate again, rebuilding my workflow from scratch. But every time i remove a task the same problem arise.
Any help will be greatly appreciated!
Thanks,
StasOriginally I had a workflow triggered by an event , calculating some stuff and sending an e-mail at the end.
I copied that, added another triggering event and added a multiple condition (CASE) sending an e-mail depending on the triggering event. By the way, the problem i asked for help with earlier with passing the event name element was cause by the same thing (workflow not updating).
Anyway, i tried to do it without the CASE step, tried to put it before and after and with the original send mail step. I'm pretty sure it happens only when i delete a step.
Thanks,
Stas -
A workflow creates an item but doesn't start another list workflow on that new vreated item
Scenario is as follows: I have a Workflow A (starts manually) and a Worklow B (starts when item is created). First I create an item in the list after that I start worklow A manually on that item and of course workflow B is already running on that item. Workflow
A creates a new item in the same list. Unfortunately workflow B doesn't start on the newly created item.
What I've found out so far is, the problem is connected to the actions you use in workflow B. If I'm not using actions like 'Update List Item' or 'Set Field In Current Item' the worklflow starts.
Any suggestions?
best
MatthiasHi Matthias,
According to your post, my understanding is that you wanted to start the Workflow B to perform some actions like ”Update List item” or “Set Field in Current Item” on the newly created item which is created
by Workflow A in the same list.
The reason of the problem which you have found is that the automatically started Workflow B executed faster than the manually started Workflow A.
Therefore, the Workflow B can’t be triggered automatically because the action
“Update List Item” or
“Set Field in Current Item”
cannot be executed when the new item hasn’t been created completely.
So, I recommend that you can add the “Pause for Duration” action to pause for
one minute before the actions of “Update List Item” and “Set Field in Current Item” in the Workflow B.
The Workflow B is shown as below:
Best Regards,
Victoria
Victoria Xia
TechNet Community Support -
I have a SharePoint 365 environment with some workflows, and various lists all in a single site.
Workflows (triggered by their individual list "Add item" ) perform actions also in other lists.
One of the lists is mainly was updated by external workflows, it had no workflows assigned itself yet.
But that is going to change, manual updates to this list of the type "Add item", and "change item" need to be made.
However the current existing workflows should not trigger them (as they add and change items too...), is that possible ?.HI
Can you be more clear with your question.. You don't want external workflows to trigger item change in current list..etal?. Only new workflow created specific to this list have to do item change?..
You can use pausing functionality in workflow to stop external workflows from executing until a specific date and only newly created workflows can run during that time.. I just wanted to confirm your question before answering..
Thank you -
Every time I restart the computer and try to install firefox the same message keeps appearing. I attempted to uninstall the earlier version of firefox using "programs and features" in windows but the same message came up and thus I was unable to uninstall using that method. I have used a third party uninstall program which appeared to delete all traces of firefox including registry entries but I still have the same problem.
I am now in the position of not being able to load any version of firefox. HELPSame problem here. I installed version 4.0, then removed it and tried to install 3.6. Now no version Firefox will not install. I keep getting a message that I have to restart my computer in order for updates to a previous version can be installed.
Every time I restart the computer and try to install firefox the same message keeps appearing. I attempted to uninstall the earlier version of firefox using "programs and features" in windows but the same message came up and thus I was unable to uninstall using that method. -
Workflow to change item/file permissions using a people column on the List/Library?
SharePoint 2013 Online.
I have a Document library with users that can only add new items permission by default.
There is a new people column in that library
I presume I can manually change perimssions on one item/file to let a user have full control over that particular item.
Can a workflow be added to so that the user in that people column get's full control to the item on edit or new events in the Workflow?
Can all other individual users be removed with this permissions for that item from the events of the workflow?
Thanks in Advance!
============================
Thank You
cyberpine.comHi cyberpine,
In SharePoint on-premise, there are some workflow actions used to modify list item permission from SharePoint Designer workflow, like Add List Item Permissions, Replace List Item permissions. And these actions are only available in
Impersonation Step.
I’m not sure if it is similar in SharePoint online, you may check this. If there is any further question, I would like suggest you to give a new thread on
Office 365 forum.
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support -
Create Multiple tasks for Single Item in List using state machine workflow in sharepoint
Hi,
I want to create multiple create tasks for Single Item in List based on Assigned to column using state machine Workflow through visual studio
Here Assigned to column allows multiple users. so i have to create task for every user based on column .
I'm trying for this but i didn't got any solution
Please provide solution for this.Hi,
According to your post, my understanding is that you wanted to allow multiple users to approve.
There are some articles about creating parallel tasks in state machine workflow, you can have a look at them.
http://www.codeproject.com/Articles/477849/Create-Parallel-Task-in-State-Machine-Workflow-in
http://msdn.microsoft.com/en-us/library/office/hh128697(v=office.14).aspx
http://social.technet.microsoft.com/Forums/office/en-US/b16ee858-4360-479a-a686-4ee35b7be9db/sharepoint-2010-workflow-creating-multiple-tasks?forum=sharepointdevelopmentprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Workflow Start automatically for particular item of list
Hi,
I have created workflow using visual studio for custom list. My workflow type is manually start not start on Item create and change.
I want to start workflow only when the start date of the custom list is same date of today. for this which steps I need to follow that run workflow in background and start workflow for particular item whose start date is satisfied with today's date?Hello,
You need to create event receiver on (i.e. ItemAdded and ItemUpdated)that list to start WF via code when condition is satisfied. I had similar requirement in past and this is what i did.
You may refer below link to see sample code:
http://blog.mmasood.com/2012/06/programatically-start-workflow.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/75304724-f32f-466b-90d4-f4fdfe7f2bf7/start-workflow-programmatically
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Update of information in SO header - but affecting the item
Hi all,
I am updating some information in the SO header (in the tab of Additional data)
When I'm just about to save, it actually prompted me the reason code for changing the items. Since I'm only changing in the area of header so I'm guessing this thing shouldnt be happening.
Does anyone have any idea on this? Points will be rewarded for your great opinionsHi,
I assume you changed Condition Group 1 till 5 fields. It's standard function. It will happen if you changed the customer condition group field for pricing, system will be populate to the items automatically.
Regards,
Gumanti -
Send a link via email that will start a workflow on a sharepoint online list
I am trying to send a hyperlink in an email that will start a workflow on a sharepoint online list. I am unable to use javascript because the end-user will be clicking this link on their mobile device. I have found many articles that get me almost there
but none of them will actually start the workflow.
here is one that is very close to what i am looking to do. http://sharepointerz.blogspot.com/2012/05/run-workflow-from-hyperlink-in.html
Is it possible to start a workflow using a URL with out using javascript?
Any help would be much appreciated. Thanksyou can use ECMA script to Start the workflow. However you need to redirect to a sharepoint page and there on Load you can do this. Directly from Email I don't know.
You can use http://www.codeproject.com/Articles/607127/Using-SharePoint-Workflow-Services-JS-API
SP.WorkflowServices.WorkflowServicesManager
From other blog http://www.vrdmn.com/2014/08/start-sharepoint-2013-workflows-with.html
Thanks and Regards
Er.Pradipta Nayak
Visit my Blog
Xchanging -
Update item in list using rest api - failed when browsing in juniper session
this issue is about browsing to an on premises sharepoint 2013 inside a LAN using Juniper session
the user can see everything and can create new list items with rest api but
cannot update existing items using the function below.
we've got this function which we use to update list items in rest
it works like a charm when browsing inside the LAN
function updateListItem(itemIdentityField, itemIdentity, listName, siteUrl, item, success, failure) {
getListItemWithId(itemIdentityField, itemIdentity, listName, siteUrl, function (data) {
$.ajax({
url: data.__metadata.uri,
type: "POST",
contentType: "application/json;odata=verbose",
data: JSON.stringify(item),
headers: {
"Accept": "application/json;odata=verbose",
"X-RequestDigest": $("#__REQUESTDIGEST").val(),
"X-HTTP-Method": "MERGE",
"If-Match": data.__metadata.etag
success: function (data) { success(data, callBackIndex, null) },
error: function (data) {
getError(data);
}, function (data) {
failure(data);
the error i get in ULS log is:
Original error: Microsoft.SharePoint.Client.InvalidClientQueryException: The parameter __metadata does not exist in method GetItemByStringId.
at Microsoft.SharePoint.Client.MethodInformation.GetParameter(String parameterName)
at Microsoft.SharePoint.Client.ClientCallableEdmModelBuilder.CreateFunctionImportForMethodBodyParser(MethodInformation clientMethod, List`1 parameterNames, ProxyContext proxyContext)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ParseParametersFromBody(MethodInformation methodInfo, Boolean allowPostBodyAccess, Boolean isLeafSegment, ClientValueCollection args)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ParseParametersFromBodyOrQueryString(MethodInformation methodInfo, Boolean allowPostBodyAccess, Boolean isLeafSegment, ClientValueCollection args)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.CreateMethodArgumentsUsingNamedParameters(MethodInformation methodInfo, IList`1 parameterList, Boolean isLeafSegment, Boolean allowPostBodyAccess)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.InvokeMethod(Boolean mainRequestPath, Object value, ServerStub serverProxy, EdmParserNode node, Boolean resourceEndpoint, MethodInformation methodInfo, Boolean isExtensionMethod, Boolean isIndexerMethod)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathMember(Boolean mainRequestPath, String path, Object value, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()
at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()
at Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream, IList`1 pendingDisposableContainer)
Any help?
Somebody?
ThanksHi patrik
Really appreciate your replying.
Could you try and refer to the issues below:
this error occurs even with site collection administrator (i tested it with three different
users)
there isnt any difference between items in list - all have same permissions
it occurs in several lists in site (all lists have same permissions)
if browsing inside the LAN everything works just fine
updating from the UI works fine in all means
It really seems like a Rest related problem(is there anyone from the Microsoft REST team who can take look at this error?)
Thanks
Hushay -
Error: "The workflow could not delete the list item"
Have set up 2 lists: Events and EventsArchive. They have all the same fields. I have created a workflow in SPD using an impersonation step (I have Full control of the site/site collection). Workflow is essentially this:
If Curent Item:Expired
equals
Yes
Copy item in Current Item to
EventsArchive
then Delete item in
Current Item.
The item is copying over to the EventsArchive list just fine, but the "delete" part is not happening. Instead, I get the following error:
The workflow could not delete the list item. Make sure the list exists and the user has permissions to delete items in the list.
The list obviously exists (or I wouldn't be able to copy an item from it), and I have as much permissions as anyone can have, so I'm not sure where else to turn with this.
Thanks in advance for your help!Hi,
To test the issue, I create a simple workflow without using Impersonation step:
It works.
Could you please create new lists to avoid custom settings and test the issue again?
Similar thread:
https://social.msdn.microsoft.com/Forums/office/en-US/3fa94026-4487-4e4c-a5b4-12a79d6ee6a2/workflow-delete-item-not-working?forum=sharepointcustomizationprevious
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
hi i wanna ask if the update carrier update could affect if i insert another sim and update it..im using softbank but soon i will go back to philippines i wanna use philippine sim,is it possible ? than you
Softbank does not offer unlocking at all. You can not use that phone with another carrier. Sell it before you leave and buy one you can use in the country where you intend to use it.
-
HT5567 Will updating to this new os affect my phone being unlocked?
Will updating to this new os affect my phone being unlocked?
If officially unlocked, no. You have nothing to worry about. If hacked to unlock it, worry...as your phone will be re-locked to the carrier it was originally locked to, that is if the update even succeeds.
-
Copy item from List A to List B, generate 2 rows in List B
Hi,
I would like to copy and update items from List A to List B. However, I want the item to be duplicated in List B.
I will explain my scenario
- List A contains a People Picker column of multiple selection and a Title column
- When the form is submitted, a workflow should trigger to copy the item to List B. If the People Picker column contains 2 values inside it, for example, user1;user2. The copied item should be duplicated in rows according to the number of users.
Example
Columns Title, Users, ID
List A - TicketNo1, User1; User2, 1
List B - TicketNo1, User1 1
List B - TicketNo1, User2 1
Can this be done OOTB or must we use some event receiver..has anyone ever done such a thing before?Hi,
Below code help you to accomplish your task using event receiver
public
override void ItemAdded(SPItemEventProperties properties)
//base.ItemAdded(properties);
if (properties.ListTitle ==
"ListA")
SPUser user = null;
//get value of fields
string strTitle = Convert.ToString(properties.ListItem["Title"]);
SPFieldUser userField = (SPFieldUser)properties.ListItem.Fields.GetField("TaskAssignUser");
SPFieldUserValueCollection fieldcollectionValue = (SPFieldUserValueCollection)userField.GetFieldValue(Convert.ToString(properties.ListItem["TaskAssignUser"]));
foreach (SPFieldUserValue fieldValue
in fieldcollectionValue)
user = fieldValue.User;
//Create items in another list
SPList destinationList = properties.Web.Lists["ListB"];
SPListItem targetItem = destinationList.Items.Add();
targetItem["Title"] = strTitle;
targetItem["WorkAssigned"] = user;
targetItem.Update();
Thank You,
Somnath Matere
Maybe you are looking for
-
Epson Scan prompting for firewall access every time
I'm running Mavericks on a mid-2007 iMac. I have an Epson 710 All-in-one printer. It is connected via USB to my Airport Extreme Base Station. That works fine for printing, though I have to connect to the scanner module via its built-in wifi. Although
-
Unable to hook up my ipod to a television with av cables
How can I hook up my ipod to a television with av cables. I am hooking it up to an older tv and can get audio but no video.
-
TS2988 Ringtone Not showing up on actual phone
The ringtone shows up in my itunes on my computer and under my phone when it is connected. But when i look at the sounds setting on my phone the ringtone is not there. And when i look for the ring tone on my actual phone it is not found.
-
Windows Installation on MacbookPro Retina 15" via USB Error Please Help !
Hi there people, I have been trying to install windows on my macbook for one month. But I havent succesed yet. I downloaded a windows 7 professional iso image which doesnt require a key. When I try to install it via usb it doesnt work. It succesfully
-
MacBook won't let me partition HD
Hi, I'm on a MacBook5.1 - I just upgraded to Snow Leopard. First let me admit some things; I first tried partitioning my MacBook by using G-Parted (off of an Ubuntu LiveCD), and it seemed to be working but then the time element got so large and long