Workflow failing

We are running wss 3.0. We have a webpart in one of our site that utilizes two custom work flows. When users attempts to execute the work flows, they get the following error in the browser. I have checked both work flows and they check out
okay.
The error we get when trying to execute the work flow is
Unable to display this Web Part. To troubleshoot the problem,
open this Web page in a Windows SharePoint Services-compatible HTML editor such
as Microsoft Office SharePoint Designer. If the problem persists, contact your
Web server administrator.
I have checked both work flows and they check out okay or at least that is the report I get when I check.
I find no errors in the event log.
Any ideas?

Lukas,     As I said before, you need to understand the building blocks of a workflow and how it works. I'll try to help you here in as simple terms as I can.  @ But I'm still thinking, I know the Map Lun command wanted IP, but where am I supposed to find which command provides IP?----Its not  any command that provides the IP, its the found resource for the command which can do it. And its not just the volume1 resource for the Create Volume command which can do it. You could have used lun1.array.ip from command Create Lun and it would work. Or igroup1.array.ip or nfs_export_datavol.array.ip or even lun1.volume.aggregate.array.ip So how to decide which one would? For that you need to look at the dictionary objects and understand what they are. For example the dictionary item volume for scheme storage. A dictionary items can be seen as a table in a DB schema and  every simgle row in WFA dictionary is equivalent to a column in a DB table. So if a volume resouce is found, it means a row in DB is found, I can now get any column value for this volume row. A volume row also has column array which is referance object to an array dictionary i.e. to an array table. You can identify them easily, they have an (R) in front of them when you look at them in Resource selection.        So the found volume row, gets me the array row and from array row I can get the ip. Similarly from the found igroup, I get get array and from that the ip. or from lun I get volume, from volume I get aggrgate, from aggregate I can get array and then from array I can get ip. So out of all the possibilities, you decide which one to pick.  @ Obviously I want user to enter either IP or hostname and WF should take care of it.----WFA can take care of anything, provided you tell it to do so. Its a very intelligent and also highy flexible framework. And thats why it doesn't assume anything. It will do just as you direct it. There is nothing obvious here.  sinhaa 

Similar Messages

  • Automator "Send Outgoing Messages" Workflow Failed - 1 error

    Hello,
    In my hunt to be able to send a personalised templated e-mail to multiple recipents using Mac Mail, I came accross the automator feature. I've tinkered around with it but can't seem to generate the final action of sending.
    1) New Mail Message (all fields have data as I read in another thread that this might generate errors.)
    2) Get Specified Address Book Items
    3) Group Mailer
    4) Send Outgoing Messages (this is where I get a Workflow failed - 1 error)
    Steps 1-3 have green tick marks, Step 4 has the error.
    Can anyone point out where I might be going wrong?
    I'm using 10.7.2

    Anyone?????

  • How to setup notifications when workflow fails ?

    Hi all,
    new to this, so please help.
    I want to receive notifications when a workflow fails for whatever reason.
    I am using R12 (12.0.4) on linux.
    Is there a way to configure this through OAM perhaps.
    Many thanks in advance.

    Hi;
    Please check and see its helpful for your issue
    Oracle Alert and WF mailer
    Re: Oracle Alert and WF mailer
    plz help me...!!!! Workflow Notification Mailer
    Re: EBS work flow
    Regard
    Helios

  • How to notify admin/some user if in list/library workflow fails?

    How to send notification to admin if workflow fails to start or some error occurs in workflow?
    i tried creating workflow on workflow history list but it is not running automatically as items are created with system account.
    Is there any other way to notify admin ?

    if you are trying to notify admin when an entry added to workflow history list, you can create alerts for that list.
    http://office.microsoft.com/en-001/sharepoint-foundation-help/create-an-alert-or-subscribe-to-an-rss-feed-HA010378197.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • 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

  • Why are my workflows failing?

    I have a workflow that should create or update a record in 1 list when the record in another list is updated.
    if a new record is created in List A and criteria is met, a record will be created in List B. When the record in List A is updated, the record in List B should also be updated.  However, often when the record is created in List A and the workflow kicks
    off, it doesn't create the associated record in List B. So when someone updates the record in List A, the workflow fails because it can't find the record in List B.  One of the steps in the workflow is to populate the record's ID# from List B back into
    the record in List A.  The record in List A will show the ID# from List B, but a record with that ID is not found in List B!
    When i test the workflow, it works fine.  When the workflow fails, I get the Error Occurred status so I manually stop the workflow and kick it off again, and it works fine.  So why is it failing in daily use? Could it be a timing issue? could the
    workflow take too long to run so it times out? if so, is there a way to speed it up or give it more time to run?
    I am not a programmer - I just create workflows using Sharepoint Designer 2010 - using Set Field Actions, or if then conditions and a couple of calculations.

    Put logs in the history list after the the code where you have created a record for List B.
    Follow this link which will guide you to log in the history list which will help you debug this issue.
    http://www.documentmanagementworkflowinfo.com/sample-sharepoint-workflows/use-log-to-history-list-sharepoint-designer-workflow-action-debug.htm

  • Tiger Workflow Fails in Leopard

    I created, and successfully used a workflow in Tiger which moved the contents of a specified folder to the trash. This workflow fails in Leopard. Here are the ordered actions used in Tiger Automator:
    1. Get Specified Finder Items
    2. Get Folder Contents
    3. Move to Trash
    When I open this workflow in Leopard Automator I get a warning that the first (Get Specified Finder Items) and the third (Move Finder Items to Trash) actions have changed, though I cannot determine how other then their name. If I show results when I run the workflow, the correct folder is chosen and the files within are revealed, but they are not moved to the trash.
    I have rebuilt the workflow from scratch with the same results.
    If I change the "Move Finder Items to Trash" action to "Move Finder Items" and select the desktop as the destination, the workflow completes without error.
    A search of Automator's actions show no other "trash" related actions to use.
    I read in this forum elsewhere a solution using an applescript to move the files to the trash, but I would like to find out why the Automator action "Move Finder Items to Trash" fails.

    Further testing reveals it to be a issue with networking in Leopard. The folder I have been emptying via an Automator action in Tiger is on another Mac. In Leopard, even if I mount the other Mac as a registered user of that Mac, with the permission to delete the files within the folder I am trying to empty, Automator is unable to trash the folder's contents.
    Is this a feature of Leopard's networking or a bug?
    I tried having Automator establish the network connection via the following workflow, but the results are the same:
    1. Get Specified Servers
    2. Connect to Servers
    3. Get Specified Server Items
    4. Filter Finder Items
    5. Get Folder Contents
    6. Move Finder Items to Trash
    In step 3 I specify the path to the folder I want on the mounted server, but the results show that both the folder and the server itself are returned! Therefore, I added in step 4 to proceed only with the folder I am trying to empty.
    If I add an "Open Finder Items" action after step 4 the files I am trying to purge are revealed. I can select them manually in the opened folder and delete them, though I due need to verify that they will be deleted immediately.
    Proceeding with the workflow, step 5 selects all the files but step 6 fails.
    Again, deleting files in a folder of a mounted server was an easy 3 step process in Tiger Automator. I am unable to determine how to accomplish the same thing in Leopard. Anyone have any thoughts?

  • How to fix Workflow failed to get user profile for user:

    hi All,
    How to fix Workflow failed to get user profile for user when using Lookup function in sharepoint designer?

    Try to use “As string” instead of “Login Name” for the “Return field as”.
    Regards,
    Jayant
    jayant prabhakar

  • A Windows Workflow Foundation workflow failed during execution

    Needed to know if there was some way to identify what the workflow was that is causing this error? I see this: "Workflow Identifier: 0cb64340-3a44-009e-67af-70963215b839" just not sure what SMLet I can use to see what this corresponds too.
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          1/2/2013 1:56:56 PM
    Event ID:      33880
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      scsm
    Description:
    A Windows Workflow Foundation workflow failed during execution.
    Workflow Type: Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow
    Workflow Identifier: 0cb64340-3a44-009e-67af-70963215b839
    Exception Type: Microsoft.EnterpriseManagement.Common.ObjectNotFoundException
    Exception Message: An object of class ManagementPackRelationship with ID 6ec982d4-207f-da19-3bc9-e6d2ff7b067e was not found.
    Exception Stack:    at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.Get[T](Guid id)
       at Microsoft.EnterpriseManagement.EntityTypeManagement.GetRelationshipClass(Guid id)
       at Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow.prepareNotificationActivity_ExecuteCode(Object sender, EventArgs e)
       at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
       at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Health Service Modules" />
        <EventID Qualifiers="49152">33880</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-02T19:56:56.000000000Z" />
        <EventRecordID>1098867</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>scsm</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow</Data>
        <Data>0cb64340-3a44-009e-67af-70963215b839</Data>
        <Data>Microsoft.EnterpriseManagement.Common.ObjectNotFoundException</Data>
        <Data>An object of class ManagementPackRelationship with ID 6ec982d4-207f-da19-3bc9-e6d2ff7b067e was not found.</Data>
        <Data>   at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.Get[T](Guid id)
       at Microsoft.EnterpriseManagement.EntityTypeManagement.GetRelationshipClass(Guid id)
       at Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow.prepareNotificationActivity_ExecuteCode(Object sender, EventArgs e)
       at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
       at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()</Data>
      </EventData>
    </Event>
    Help

    Everytime I run it I get nothing.
    Tried using the workflow identifier: 0cb64340-3a44-009e-67af-70963215b839 and tried this number as well: 6ec982d4-207f-da19-3bc9-e6d2ff7b067e
    Both just take me to the prompt with no info.
    EVENT ID 33880 Health Service Modules is the event title.
    Help

  • The workflow failed to start due to an internal error

    My approval workflow never work in my machine before. It was a newly installed machine. when i start the Approval workflow, it stated "The workflow failed to start due to an internal error'.  What other circumtances might lead to this problems?or you can email me @ [email protected]

    hi
    Finally it worked for me after reinstalling the features on the site collection. deactivating and reactivating didnt help. once i uninstalled and re installed them it worked.
    Here are the steps i performed.
    OffWFCommon
    stsadm -o deactivatefeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -url <url> -force
    stsadm -o uninstallfeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -force
    ExpirationWorkflow
    stsadm -o deactivatefeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -url <url> -force
    stsadm -o uninstallfeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -force
     ReviewWorkflows
    stsadm -o deactivatefeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -url  <url> -force
    stsadm -o uninstallfeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -force
     SignaturesWorkflow
    stsadm -o deactivatefeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -url  <url> -force
    stsadm -o uninstallfeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -force
     translationWorkflow
    stsadm -o deactivatefeature -id C6561405-EA03-40A9-A57F-F25472942A22 -url  <url> -force
    stsadm -o uninstallfeature -id C6561405-EA03-40A9-A57F-F25472942A22 -force
    install & activate
     OffWFCommon
    stsadm -o installfeature -name offwfcommon -force
    stsadm -o activatefeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -url <url> -force
    ExpirationWorkflow
    stsadm -o installfeature -name Expirationworkflow -force
    stsadm -o activatefeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -url <url> -force
     ReviewWorkflows
    stsadm -o installfeature -name ReviewWorkflows -force
    stsadm -o activatefeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -url <url> -force
     SignaturesWorkflow
    stsadm -o installfeature -name SignaturesWorkflow -force
    stsadm -o activatefeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -url <url> -force
     TranslationWorkflow
    stsadm -o installfeature -name Translationworkflow -force
    stsadm -o activatefeature -id C6561405-EA03-40A9-A57F-F25472942A22 -url  <url> -force

  • 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 =) 

  • 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

  • Automator Workflow Fails with Cryptic Error Message

    I'm updating an Automator workflow for OS X Lion that I initally developed and used, without issue, in OS X Tiger. The workflow asks for a name, creates a folder for the name, takes a digital image with a Nikon D50 connected to the computer, and saves the image to the new folder. This aspect of the workflow works fine.
    I then have a prompt asking if we should take another. If the user says "yes," the script should take another image and save it to the folder. This is where I run into an issue. When I attempt to add another "Take a Picture Action" into the workflow, I get the cryptic (at least to me) error message in the attached screenshot.
    Here's the text:
    "Cannot update for observer <AMWorkflow 0x400458ac0> for the key path "parameters.name" from <TakePicture 0x403e3b0a0>, most likely because the value for the key "parameters" has changed without an appropriate KVO notification being sent. Check the KVO-compliance of the TakePicture class."
    The language of this error would seem to indicate a bug. Any thoughts on a fix or the means to report to Apple?

    The subject of this post is a bit misleading. The workflow wasn't failing while I was running it, but rather when I was editing it and trying to include another 'Take a Picture' action in the same workflow.
    The workaround I found was to use a 'Loop' action on the 'Take a Picture' action. It's a bit more elegant and doesn't require multiple 'Take a Picture' actions in the same workflow.
    Nonetheless, what does this error message mean?

  • SharePoint Designer 2013 Workflow Fails to open.

    I've been trying for a day or so to get this 2013 workflow to open up in sharepoint designer. 
    Everytime I get the following error
    "Field to load this workflow. To correct this problem, restart SharePoint Designer."
    Then when I refresh the screen I get this error.
    "Windows Workflow Foundation, part of .Net Framework 3.0, must be installed to use this feature."
    I've tried logging into SharePoint Designer with different accounts, I've delete the cache  
    %APPDATA%\Microsoft\Web
    Server Extensions\Cache
    %APPDATA%\Microsoft\SharePoint
    Designer\ProxyAssemblyCache
    %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
    Before for I say this workflow has been corrupted. I have a question to ask.
    Would content databases needing to be upgraded after a CU cause this error?
    Thanks
    James T.F

    The issue may not be an infrastructure one but involve problems with the structure of the workflow itself.  For example, I have found that if the workflow design has a type mismatch involving variable assignments, this presents with the error above. 
    Does the workflow implement error control?  Have the workflow designer very carefully review the workflow to find any potential problems.
    Also... The problem with workflows is that they do not have a robust compiler or error handler to capture and inform you of errors involving the workflow itself.  The reference below provides links to other pertinent postings on this vary issue.
    References
    SharePoint 2013: Failed to load this workflow
    General

  • SharePoint 2010 Designer workflow failing in an Ad hoc manner.

    Hi Friends,
    We have a SharePoint 2010 Designer workflow with 25 approval stages (supposed to run for around 1.5 yrs. ) . We have a consistent problem in the workflow as it keeps failing with message "error occured" at some stages(not uniform) after a users
    tries to submit his Tasks .
    After lot of troubleshooting , we found that all the workflow which is getting failed have a Tasks on which the due date of tasks has exceeded. I meant to say that user is submitting his Task (which is a custom info-path 2010 form ) after the due date of
    the Tasks.
    Can any one suggest if this is supposed to be the Obvious behavior of workflow ? That is ,if the user submits his Task when the due date has passed , the workflow will fail with error.

    Hi Friends,
    We have a SharePoint 2010 Designer workflow with 25 approval stages (supposed to run for around 1.5 yrs. ) . We have a consistent problem in the workflow as it keeps failing with message "error occured" at some stages(not uniform) after a users tries
    to submit his Tasks .
    After lot of troubleshooting , we found that all the workflow which is getting failed have a Tasks on which the due date of tasks has exceeded. I meant to say that user is submitting his Task (which is a custom info-path 2010 form ) after the due date of the
    Tasks.
    Can any one suggest if this is supposed to be the Obvious behavior of workflow ? That is ,if the user submits his Task when the due date has passed , the workflow will fail with error.
    Athar raza faridi

  • Podcast Producer Youtube workflow fails. Script produces runtime errors

    A guide was written regarding creating a Podcast Producer workflow for YouTube. Unfortunately, the completed script (even with all of the relevant API bits installed properly) returns an exception when trying to upload the video (client ID, data API have been substituted into the script). The Java script compiles and runs. However, when it failed, I decided to toString() the exception which was called and found out that Google was returning "Bad Request," meaning something with the way the Script was trying to talk to Google was bad. The code is still the reference code with the CID/DevKey subbed in, but because of the Bad Request exception passed by Google, it fails to upload, and thus, fails entirely.
    Is there a proper working YouTube workflow anywhere?

    Apologies: I just found the Podcast Producer forum, so I'm going to mark this one as answered and repost the question in the Podcast Producer forum now that I know a specific forum for it exists.

Maybe you are looking for