SharePoint Designer Workflow 'Failed on Start', SP Logs has WorkflowValidationFailedException, works ok when recycle IIS App Pool and restart

Hi there, 
I know there are a lot of posts about "Failed to Start" errors, but I have yet to see one that describes our problem.
We have workflows built with SharePoint Designer 2007
Normally these workflows start ok and work completely
Occasionally though they will all fail to start, instead showing "Failed on Start (retrying)" in the Workflow Status and the following exception in the SP Logs:
01/16/2015 15:43:27.28 w3wp.exe (0x15D4) 0x1A00 Windows SharePoint Services Workflow Infrastructure 936l High Engine RunWorkflow: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation. at System.Workflow.Runtime.WorkflowDefinitionDispenser.ValidateDefinition(Activity root, Boolean isNewType, ITypeProvider typeProvider) at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boolean initForRuntime) at System.Workflow.Runtime.WorkflowDefinitionDispenser.GetRootActivity(Type workflowType, Boolean createNew, Boolean initForRuntime) at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance) at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext con...
01/16/2015 15:43:27.28* w3wp.exe (0x15D4) 0x1A00 Windows SharePoint Services Workflow Infrastructure 936l High ...text, WorkflowInstance workflowInstance) at System.Workflow.Runtime.WorkflowRuntime.GetWorkflowExecutor(Guid instanceId, CreationContext context) at System.Workflow.Runtime.WorkflowRuntime.InternalCreateWorkflow(CreationContext context, Guid instanceId) at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType, Dictionary`2 namedArgumentValues, Guid instanceId) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)
What is strange, is that if I recycle the App Pool for the SharePoint site and then restart the workflows, they all work fine for a time. Until the next time they don't =) 
The workflows must be configured ok since they do work complete at time, but I wonder if there is something with the memory usage of the app pool or something that is being re-compiled when the App Pool is recycled
The App Pool is set to recycle nightly, and when virtual memory > 1700MB or memory > 1000MB
Is anyone able to shed any light on this problem?? Or what steps I can take to debug the problem further.
Thanks in advance
Miguel Clark =)

Hi Sudip,
Thanks for the link.
The workflows in question are SharePoint Designer workflows using standard actions, so unsure exactly how to check the 'correlation tokens' and 'DLLs', plus the workflow works fine as soon as I recycle the IIS App Pool, so do not see how these could be the
problem
As to the 'lodctr' commands, we have tried  these in the past, to no effect. Though may try them again next time the issue comes up just to see if it does the same thing as recycling the app pool.
My big question here is "why would it suddenly work after recycling the app pool??" I feel like it must be something memory related, since recycling the app pool releases the resources used by the IIS worker process.
Miguel =) 

Similar Messages

  • Custom SharePoint Designer 2010 Workflows "Failed on Start"

    Good morning everyone!
    I have created a library using a custom Document Sets based content type that allows an additional custom Document based content type. I add a Document Set approval workflow using SharePoint Designer, but it constantly fails to start with these results:
    Event Type
    User ID
    Description
    Workflow Cancelled
    System Account
    Workflow [Workflow Name] was cancelled by System Account
    Error
    System Account
    [Workflow Name] failed to start
    I decided to test an OOTB workflow on the library to see if it would work and it did! An OOTB Approval Workflow functioned as expected. Also, other custom workflows on the site collection are running normally.
    I've looked around for fixes, but haven't quite seen this exact scenario, so I figured I'd check here first before I started messing around with anything else.
    Any help would be greatly appreciated!
    Toni Marie

    Hi Toni,
    According to your description, my understanding is that only the custom workflow containing "Start Document Set approval process" could not get be started.
    Whether you tried to create a new workflow only containing "Start Approval Process" action via SharePoint Deisgner 2010. If not, please test again, compare the result.
    Please create a new library, and add the document set into this library, then enable content approval for this library in library advanced settings. After that, re-create a new workflow only containing "Start Document Set Approval process" action,
    compare the result.
    Please test with another user, compare the result.
    In addition, please check whether SharePoint 2007 Workflow feature and Workflow feature are enabled. If yes, please disable and re-enable them. If not, please enable them.
    There is a similar post, please check if it is useful for you:
    http://chayadigital.wordpress.com/2012/07/16/sharepoint-2010-custom-workflow-failed-to-start-error/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint Designer workflow emails sometimes fail to send

    Hi. I have had no luck following this up with support so posting to this group for visibility in the SharePoint Online team :)
    I have built a SharePoint Designer workflow that sends a notification email when a new item is created on a list. Generally this works fine, but about 20% of the time I find that the email fails to send. I get this error message reported by the workflow:
    The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
    After some research I thought this was due to me using a SharePoint Online Group in the To field: so I changed the To field to a hard coded email address... but I still got the same problem periodically.
    There is definitely something odd going on within the guts of SharePoint Online. Please can someone investigate this?
    Thanks,
    MylesCatch me on Twitter

     
    Hello Myles,
    Custom workflows are currently unsupported by Microsoft Online, however I am not sure why you are using a workflow to send a email notification when a new item is created as an alert can be setup to achieve this. 
    If this information is not helpful, and find no resolution, you should consider these resources as well:
    http://office.microsoft.com/en-us/sharepointdesigner/FX100646991033.aspx Designer help
    http://blogs.msdn.com/sharepointdesigner/default.aspx Designer blog
    Hope this helps,
    Justin Bakelaar – BPOS Support

  • How to see/use Target Audience column in SharePoint Designer Workflow (SharePoint 2013 Online, Designer Workflow)

    Hello,
    I'm attempting to use use the Target Audiences field in a SPD 2013 workflow, in this case just attempting to log the value to history for testing purposes.  This is failing saying the column does not exist.
    I enabled Audience Targeting on the list then create a simple workflow to log the value to history when the item changes.
    I change an item and the workflow starts, but when it gets to any action looking at "Current Item:Target Audiences" it stops and says:
    HTTP BadRequest to <site url>/_api/web/lists(guid'XXXXXXXX')/Items(4)?%24select=ID%2CTarget_x0020_Audiences 
    The field or property 'Target_x0020_Audiences' does not exist. 
    But it does.  It is listed in the list setting and enabled for the content type.
    I ran the listed API through an API program and sure enough, Target Audience is not listed in the results object.
    I'm 99% sure I've enabled this and that the field is present and the workflow is valid.  I ran the same situation on two lists to ensure it wasn't a hiccup, same results.
    Is this a know issue?  I couldn't find anything obvious online saying you cannot see this field via workflow, most of what i found said this would work.
    Thanks an advance for any input.

    Thanks so much Lisa, for the clarification.
    I understand what you have explained, and have seen several similar explanations that have lead to my confusion.  Can you elaborate a bit, maybe for the sake of future information seekers?
    I understand that audiences can be defined using the rules operations in Central Admin, but it seems another standard function is to just directly assign existing SharePoint groups.  I think this is what you mean above, but this is also the point of
    my misunderstanding.
    In this particular setup I have only used existing SharePoint groups with no audiences defined in Central Admin.  List Item A has a target audience of SharePoint group X, just that simple of a setup.
    Assuming the above is valid, I would then like to see or alter the groups via SPD workflow.
    Based on the following posts, I was under the impression this may be possible (but obviously not fully clear and thus I posted this):
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/5eb984ba-55a3-4da7-a904-c34b2fece84c/how-do-i-set-the-target-audience-using-sharepoint-designer-workflow
    http://www.sharepoint-tips.com/2011/01/setting-target-audiences-with-code.html
    (sorry about lack of links, my account must still require verification)
    So in SPD, I set a simple action such as "Log Current Item:Target Audience to history" (note the I am able to select target audience in SPD like any other field with no errors).  At this point I am assuming everything is valid as SPD is treating
    the field like any other string field.  When executed the error in the above post comes up.
    So to confirm your explanation, this is not supported?  Even though the field is available for selection by design, it is not capable of use and known to produce errors in all cases of its use?  The first post above is 100% wrong and you cannot
    use SPD to set/view the target audience field?  The second post is also wrong as it seems to present the fields as available for alteration using string concatenation?
     If in fact the field is present by design, but also impossible to use by design, is this potentially a bug as the field is not supposed to be available if it will always produce the error when used with no error in SPD during compile?
    Thank you again for the reply and I hope we might be able to provide a rock solid answer to this for future seekers. 

  • SharePoint Designer Workflow 2013 Issue

    Hi All,
    We have an issue with the SharePoint designer workflow with the below error message.
    "Something went wrong. To Try again, reload the page and then start the workflow"
    suggest...
    Arun Prakash

    Hi,
    According to your description, my understanding is that you got an error when you create a SharePoint Designer workflow.
    Please do an IISRESET.
    Whether the issue occurs at another site or site collection, do a test in another site or site collection, compare the results.
    If the results is same,  please uninstall Workflow Mananger from all servers, then reinstall it .
    Note : If you are on a multi-server environment, make sure you have installed Workflow Manager client on all of your farm servers.
    Here are some useful posts for you to take a look at:
    http://social.msdn.microsoft.com/forums/en-us/ad882c89-22db-4d6c-8f60-5761c5f0b0a8/problem-with-sharepoint-2013-workflows
    http://lennytech.wordpress.com/2013/06/02/configuring-sharepoint-2013-to-use-workflow-manager-1-0/
    if this issue still exists, please check the log file to find more information about this issue.
    Best regards,
    Lisa Chen

  • SPD workflow fails to start

    This issue has been raised few times before. I followed the solution to check in / check out workflow and made Title as optional column but I am not able to still solve the problem.
    I have list based on custom content types. Created very simple workflow which just logs to the history. when I start the workflow I received this error message in the logs.
    06/13/2012 13:57:28.22 w3wp.exe (0x10F8) 0x0C84 SharePoint Foundation Workflow Infrastructure 72fs Unexpected RunWorkflow: System.ArgumentException: Item does not exist. It may have been deleted by another user. at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime& lastModified) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.Load... 625ae924-be53-4091-aaec-9085e152d586
    06/13/2012 13:57:28.22* w3wp.exe (0x10F8) 0x0C84 SharePoint Foundation Workflow Infrastructure 72fs Unexpected ...XomlAssembly(SPWorkflowAssociation association, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions) 625ae924-be53-4091-aaec-9085e152d586
    06/13/2012 13:57:28.28 w3wp.exe (0x10F8) 0x0C84 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected System.ArgumentException: Item does not exist. It may have been deleted by another user. at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime& lastModified) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb) at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid) at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(... 625ae924-be53-4091-aaec-9085e152d586
    06/13/2012 13:57:28.28* w3wp.exe (0x10F8) 0x0C84 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected ...SPWorkflowAssociation association, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions) 625ae924-be53-4091-aaec-9085e152d586

    Hi,
    My workflow fails to start and is cancelled this happens on
    one subsite, it is a custom workflow created in SPD on a custom list.  I
    am the site wide administrator so I have rights to everything.   I have looked at the logs filtering by workflow and I get this error below. 
    RunWorkflow: System.ArgumentException: Item does not exist. It may have been deleted by another user.  
    I see anything about the page being check in or checked out.
    Everything is sharepoint 2010.
    Could you please direct me to an answer or some help please.
    Thanx

  • Workflow Failed on Start (workflow was cancelled by System Account

    I have created a Workflow in SP Designer and attached to the library. It works fine in Dev but failing to run in Prod. getting the error Workflow was cancelled by System account and failed on Start.
    Can anyone help me in this regard.
    Thanks

    Hi,
    What is SharePoint server’s version?
    Check if the account who start the workflow has enough permission.
    If you were using SharePoint server 2007, all Visual Studio workflows (including SharePoint OOB workflow and customized workflows) run as the System Account and have
    full rights to everything in SharePoint Products and Technologies.
    SharePoint Designer workflows, on the other hand, still run as the System Account, but they do so with their permissions trimmed down to those of the account that
    initiates the workflow.
    In other words, SharePoint Designer workflows always run impersonating the user who initiates the workflow.
    For more information about troubleshoot workflow errors, check out the following article:
    http://office.microsoft.com/en-us/sharepoint-designer-help/troubleshoot-workflow-errors-HA010237912.aspx
    (SharePoint 2007)
    http://technet.microsoft.com/en-us/library/cc298927.aspx
    (SharePoint 2010)
    Thanks,
    Rock Wang
    Regards, Rock Wang Microsoft Online Community Support

  • SharePoint Designer Workflow 2010 - System Account Initiator

    I am current running SharePoint 2013. I have a drop-off library which routes documents to the correct location. But when I use the drop-off library the workflow initiator shows up as "System Account". When the document is added to the SharePoint 2010
    Workflow fails (I've been able to get 2013 Workflows to work but I really need SharePoint 2010 Workflow for this scenario).
    How can I solve this problem? Is there a setting I can change? Or even change the Workflow initiator?

    Hi Spupload,
    It is by design that Content Organizer rule will route documents with System Account and 2010 workflow cannot be triggered by system account.
    I recommend to start the workflow programmatically with Event Receiver.
    You can refer to the links below for detailed codes:
    http://blog.ozippy.com/2010/06/starting-workflow-when-content.html
    http://zimmergren.net/technical/starting-a-sharepoint-workflow-from-code-event-receiver
    Best regards.
    Thanks
    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]

  • When building a vacation leave holiday system using SharePoint Foundation 2010 and SharePoint Designer workflows how can I add half day functionality?

    Hi,
    I have built a vacation leave holiday system for SharePoint Foundation 2010 using SharePoint Designer workflows and Javascript. Everything works perfectly but I'm struggling to design a solution for users to specify half day requests that span over dates
    greater than 1 day, i.e. my half day solution works but only when the start and end date are the same. How would I change the user interface to allow users to choose which day they want the half day to be requested when the vacation leave holiday request is
    from, say,  6th - 10th Jan 2014?
    Thanks.

    Hi ,
    I have a test on my machine with a custom approval workflow and it can work normally .Here are the detailed steps :
    1.      
    Open the site in SharePoint Designer .Create a workflow to associate with the document library .Set the workflow to start when an item is created and when an item is changed
    .Also allow the workflow to start manually .
    2.      
    Choose ‘Collect Data from a user’ .
    3.      
    Click on the data and give a name to the Task created .
    4.      
    Define the custom form field name as ‘Approve ?’ .Set the information type as Choice .
    5.      
    Set the choices as ‘Approve’ and ’Reject’ .Display as Checkboxes .Uncheck the ‘Allow fill-in values’ and ‘Allow blank values’
    .Click finish to save .
    6.      
    Click on users and add the users who will approve the documents .
    7.      
    Keep the output to variable as collect .
    8.      
    Add a new step .Choose ‘If any value equals value ’ .Set the any value ‘Data source’ as  workflow variables and parameters .Set the ‘Field
    from source’ as Variable: collect .
    9.      
    Set the value behind ‘equals ’ as ‘Approve’ .
    10.  
    Add a new action ‘Update list item ’ .Set the item as current item .Add the field Approval status as Approved .
    11.  
    Add an Else-if branch to update the Approval status as Rejected .
    12.  
    Publish the workflow and test in your site .
    Thanks,
    Entan Ming

  • Updating a title column in list that is a lookup column to document library in sharepoint designer workflow 2010

    Hi I have a requirement to create a list item in Contracts List when a document is uploaded in Contracts Vendor library.
    Contracts List will
    have  columns - Contract Name ( title column), Contract Number, Contract Start date and end date.
    Contracts Vendor library will have Contract
    Name,Contract NUmber.
    User will select the Contract Name from drop down ( this is look up column linked to Contract Name in Contract
    List).When user uploads document in Contract Vendor library then item should be created in Contract List with selected Contract Name and
    Contract number .
    Contracts and Contracts Vendor are related by look up Contract Name. Contract Name is internally a title column in
    Contracts List.
    Issue1 :
    Since Contract number is look up column, while I am creating item the Contract name is not getting updated in
    Contracts List. I have to use sharepoint designer workflow to achieve this task. Title colum or Contract Name shows no title.
    Issue 2:
    One
    more issue I am facing is that Contracts List has Section and Division cascaded drop downs when i select values from section and division
    dropdowns and save item in Contracts list the values are getting saved in Contract List.
    Could anyone suggest me how to handle this ? I am
    attaching the screenshots of the list and library structure. TRuly appreciate your help.
    Below are screenshots of the list structure

    Hi,
    According to your post, my understanding is that you wanted to update a title column in list that is a lookup column to document library in sharepoint designer workflow 2010.
    I try to reproduce the issues as follows:
    Create a custom list named Contracts List, add columns: Contract Name ( title column), Contract Number(Number), Contract Start date(Data and Time) and Contract End date (Data and Time).
    Create a document library named Contracts Vendor library, add columns: Contract Name(Lookup), Contract NUmber(Lookup).
    Create a workflow associated to the Contracts Vendor library.
    Add action: Create List Item.
       5. Start the workflow automatically when an item is created.
       6. Upload a document, select the Contract Name and Contract NUmber, the workflow will be started automatically.
       7. Open the Contracts List, an item will be added with the Contract Name and Contract Number in the Contracts Vendor library.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SharePoint Designer Workflow - Unable to use ProjectUID in Emails

    Hello Everyone,
    I have a SharePoint Designer workflow running smoothly. The client now has a requirement where every email should link to the project's PDP page.
    I can do this by stitching a URL together like this:
    But when my workflow gets to this email, it fails with a status of Suspended (and the error below).
    RequestorId: 8df1cbcb-fc04-dc9f-0000-000000000000. Details: RequestorId: 8df1cbcb-fc04-dc9f-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 403
    {"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"en-US","value":"WorkflowActivityInvalidArgument"}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["276"],"SPRequestGuid":["8df1cbcb-fc04-dc9f-b9ff-b373c077c4f0"],"request-id":["8df1cbcb-fc04-dc9f-b9ff-b373c077c4f0"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4517"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 11 Feb 2014 20:48:48 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}  
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context)   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)  
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I have even tried sending an email with nothing but the ProjectUID and it still fails with this message, so I know that this variable is the issue.
    I have this issue on multiple environments and multiple servers, I cannot believe I couldn't find anyone else having this issue while researching.
    Does anyone have any clue as to what is happening? Isn't this happening for you as well?
    120811049008

    Hello Paul,
    This seems to be a bug and supposed to be fix in December 2013 CU. Please review the below thread
    http://social.technet.microsoft.com/Forums/ie/en-US/71829125-09de-4094-9a0d-d9740aa73348/error-workflow-project-server-2013
    Hope this helps.
    Thank you,
    Kiran K.

  • Sharepoint Designer Workflow - Send an Email that displays Item Changes

    Hi,
    I have set up a Sharepoint Designer Workflow that sends an email to the Owner of an item (designated by a column in my list) whenver that item is changed by another user. The workflow looks like this:
    If Current Item:Modified by not equals Current Item:Primary Owner
    Email Primary Owner
    This is set to occur whenever an item is modified.
    I would like the email to show what changes were made to the item, similar to how Sharepoint's notifications work. It should show what the field that was changed to trigger the notification contains currently and what it contained previous to the change. 
    Any help is much appreciated. 

    hi,
    out of box there is no option available. But you can implement a solution.
    Create a hidden field as multiple line of text. Make it a hidden field so that user cannot enter into this field.
    When ever a workflow start check if this field is empty that means item is create now using string manipulation in workflow concatenate the meta data in one workflow variable and save it in this hidden field.
    whenevre a workflow is start if hidden field is not empty it means this is an update item scenerio and than you 
    can have read old values from this field and you have new values in item metadat. format email to get diff.
    send email upadte the hidden field again with new meta data.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • SP 2013 - Use PowerShell to Deploy, Activate and Associate a SharePoint Designer Workflow

    Hello Community!
    I'm using SP 2013 Enterprise and I need to use PowerShell to deploy a reusable SharePoint Designer Workflow to the solution gallery, activate it, activate the workflow feature, and then associate the workflow to a list and or library.  Has anyone done
    this before and if so please provide guidance and code examples.
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    Hi Tom,
    Below are the links might help, please check:
    Lists the Windows PowerShell cmdlets that you can use to manage workflows in a SharePoint 2013 farm.
    http://technet.microsoft.com/en-us/library/ee906558(v=office.15).aspx
    Series of articles written by Sahil Malik about SharePoint 2013 workflow
    http://www.codemag.com/Article/1301021
    http://www.codemag.com/Article/1304021
    SharePoint 2013: How to Schedule a PowerShell Script to Run Automatically
    http://www.proactivespeaks.com/2013/07/30/sharepoint-2013-how-to-schedule-a-powershell-script-to-run-automatically/
    Similar threads:
    http://stackoverflow.com/questions/15045189/how-to-start-workflow-2013-from-powershell
    http://sharepoint.stackexchange.com/questions/65555/deploying-workflow-wsp-as-sandbox-solution
    http://sharepoint.stackexchange.com/questions/89312/launch-sharepoint-2013-workflow-w-javascript
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • Bug? - SharePoint Designer workflow email to a person field - combines two emails to create an invalid email

    Hi there,
    In my SharePoint 2010 Custom List - I have a SharePoint Designer workflow that sends emails to a Person Type column called "Notify". However when I type several users here in NewForm.aspx in Notify field - two of the users do NOT get email. On
    checking logs it so turns out that email is being sent to: [email protected]; [email protected]@c.com; [email protected]; [email protected];
    Now the bold text above is an invalid email address (without the semi colon between two users) and user2 and user3 do NOT get any email.
    The way it is implemented in SharePoint Designer workflow is pretty straightforward - see Notify field below.
    Any help will be appreciated on how to fix this? This seems to be an SPD bug?
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted to send email to a person field.
    I try to reproduce the issue, however, I can send email to five people correctly.
    I recommend to create workflow as below:
    Then when you open the email, you can find that it cc to five users.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SharePoint Designer Workflow, condition: if value of date/time field is less then x days from today, do something

    Hello,
    A field in a list is called 'Date'  (it is a date/time type of field)
    Now I want a condition in a workflow that checks the 'date' field. If the date is less than X days from today it should (for example) send an email to a certain user.
    Is this kind of condition possible in a SharePoint Designer Workflow?
    Thanks in advance!

    Hi,
    As I understand, you want to create a workflow that can check data.
    The workflow can be:
    1. Add 0 months, 2 days, 0 hours, 0 minutes to Current Item:date1 (Output to Variable: date ) (2 days is the days you can set, and Current Item:data1 is the datefield you want to check from today)
    2. Add 0 months, 0 days, 0 hours, 0 minutes to Today (Output to Variable: date1 )
    3. Set time as 0 : 0 for Variable: date (Output to Variable: date2 )(get the Variable: date Date only )
    4. Set time as 0 : 0 for Variable: date1 (Output to Variable: date3 )( get the Variable: date1 Date only)
    5. If Variable: date2 equals Variable: date3
    6. Email these users
    https://onedrive.live.com/redir?resid=40B702A9FB117DD!136&authkey=!ABtMg5n3OtPakCg&v=3&ithint=photo%2cPNG
    More reference:
    http://stackoverflow.com/questions/1249366/start-sharepoint-workflow-x-days-before-expiry-date
    Best regards,
    Sara Fan

Maybe you are looking for

  • JABBER 9.2.2 CALENDAR INTERGRATION OUTLOOK365

    Hi guys I have jabber 9.2.2 and outlook 365, CUCM 9.1 and CUPS 9.X  The calender does not show up.   Any advise  configs on CUCM for intergrating with Outlook 365? Thank you in advance

  • HT204388 how to make mac mini selecting hdmi (amp) for default audio output

    I currently have to go in system preferences sound option output and select hdmi (my sound system amp) at every single startup. how can i get my mac to use it as default. thanks

  • Hyperlink/URL in workflow notification

    Hi, I am modifying the Sales Order workflow. The requirement is that a link/url should be provided in the message that should allow user to open sales order directly from the message. Please advise on how can we have this functionality through workfl

  • Accessing variables of different projects

    I have created a general "java application project" and a "Web Application project" How can i access a variable of the "java application" from the "web Application" java application -> it has Game1.java (contains the main() method) Assume it has a va

  • Problem installing JWSDP-2.0 on linux ! ?

    when I try to execute the jwsdp-2_0-unix.sh installer on Fedora Core 5, x86, I get the following error indication: Using /var/tmp as temporary directory... Searching for Java(TM) 2 Platform, Standard Edition... tail: cannot open `+368' for reading: N