Can I deploy a reusable workflow (2010 platform) with wsp package?

I am working on a SharePoint 2013 on-premise farm. But it only support SP2010 workflow platform because workflow manager is not installed.
In the development farm, I build a simple workflow with SPD2013. It works as expected. However I don't know how to deploy it to production environment. Our security policy forbid us directly connect production site with SPD or Visual Studio.
I follow this article:
http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/30/packaging-list-site-and-reusable-workflow-and-how-to-deploy-the-package.aspx
I changed my workflow into a reusable workflow (because list workflow cannot be exported under 2010 platform). Export it into a wsp file. Then upload to another test site collection and activated the feature. I got no error but I cannot run the workflow.
When I check with SPD, I found the workflow is existing on the site but it is not associate with any list.
What should I do? Any alternative? Thanks.

Few lines from same blog, please make sure these checks has been performed
"You need to guarantee that the relative list urls (eg. ‘Lists/Vacation’) are the same. Even if you create a list with a given name and then change it to a different name, the list url will not change, this
is because it is based on the original display name. As such, even though you packaged the workflow based on the list’s updated name, the workflow will still look for a list url based on the old name in the target site. Therefore, when you are recreating the
lists in the target site, you must make sure that you initially give the lists the original name, and not the updated name. This way the list url will be preserved. After the list is created, you can change the list’s name to the updated one."
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Similar Messages

  • How can I develop co-broswing on Windows platform with java language?

    How can I develop co-broswing on Windows platform with java language?
    The function will be realized
    Now I want to develop a co-broswing system with java language on Windows platform.That is to say I will develop
    a application run on client to track the present browser.Wheh the URL address of your present if changed(for example
    when you click a link or submit a form),the application will capture the new URL address and send it to the other
    client that make co-browsing connect with you.The browser on the other client side will catch the new URL and refesh
    the page to show the page.
    The question I fall across and want to ask you
    (1)How to watch system process with java on the Windows platform?Because I want to get the process information of
    the present broswer,and then get the URL address of the present broswer.
    (2)Develop an application to watch the URL address of the present broswer continuance,If the URL address is changed,
    then send the new URL address to the client on the other side,let his broswer to show the new page using the new URL.

    Paulc, A proxy server is not the right thing.
    What our man here is looking for is a solution for two
    users to kind of surf the net "in tandem" - when one
    user navigates to a different web page, so does the
    other user,
    These are typically used in call center applications
    where the advisor guides a caller through , say
    filling in an insurance form or pointing him to the
    right product specification pages.
    Xing, why are you using Java for this ? You need
    something that has better windows integration. If you
    look on MSDN.microsoft.com and search for "explorer
    bar" you will find solutions to the questions that you
    raised.
    There are also commercial products on the market that
    already do this kind of stuff. there is one from
    www.genesyslabs.com which is considered to be the best
    of breed.
    It is difficult or almost impossible to do this in
    Java for a commercial application.
    If you are developing this as an academic exercise,
    give it a try. Post your email address here, and I
    will contact and help you out if you like.my e-mail is below ,I want to contact you and need all of your help.
    [email protected]

  • Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • Deploying a Reusable Workflow to a List Content Type using PowerShell

    We have a situation where deployment of a reusable workflow for a site content type cannot be completed through the web interface due to the number of libraries where the content type is in use (time-out on deploy and update).
    It was hoped that this could be accomplished with PowerShell but the method of deploying to a list content type appears to be different than it is to a list (all content types).
    The below snippet works fine for a list / all content types:
    function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
    $site = Get-SPSite $SiteCollection
    [Guid]$wfTemplateId = New-Object Guid
    #Step through each web in site collection
    $site | Get-SPWeb -limit all | ForEach-Object {
    $web = $_
    $_.Lists | ForEach-Object{
    if($_.AllowContentTypes -eq $true)
    if($_.ContentTypes.Item("$ctName") -ne $null)
    write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
    $ct = $_.ContentTypes[$ctName]
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    $template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
    if($template -ne $null)
    $tasklist = "Tasks"
    $historylist = "Workflow History"
    if(!$web.Lists[$historylist])
    $web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
    "WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
    if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
    Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
    $wfHistory = $web.Lists[$historylist]
    $wfHistory.Hidden = $true
    $wfHistory.Update()
    if(!$web.Lists[$tasklist])
    $web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.AddWorkflowAssociation($association)
    $_.Update()
    else
    Write-Error "Workflow Template not found"
    AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
    However changing the association as follows causes the script to still execute without a problem but the workflow doesn't appear for the content and the associations collection is empty:
    function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
    $site = Get-SPSite $SiteCollection
    [Guid]$wfTemplateId = New-Object Guid
    #Step through each web in site collection
    $site | Get-SPWeb -limit all | ForEach-Object {
    $web = $_
    $_.Lists | ForEach-Object{
    if($_.AllowContentTypes -eq $true)
    if($_.ContentTypes.Item("$ctName") -ne $null)
    write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
    $ct = $_.ContentTypes[$ctName]
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    $template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
    if($template -ne $null)
    $tasklist = "Tasks"
    $historylist = "Workflow History"
    if(!$web.Lists[$historylist])
    $web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
    "WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
    if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
    Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
    $wfHistory = $web.Lists[$historylist]
    $wfHistory.Hidden = $true
    $wfHistory.Update()
    if(!$web.Lists[$tasklist])
    $web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.ContentTypes[$ctname].AddWorkflowAssociation($association)
    $_.ContentTypes[$ctname].Update()
    else
    Write-Error "Workflow Template not found"
    AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
    The only change is:
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.ContentTypes[$ctname].AddWorkflowAssociation($association)
    $_.ContentTypes[$ctname].Update()
    But unlike the list version, the association doesn't appear to be saved and no error is generated.
    Is anyone aware of what may cause this or have an example in C# that may explain something my script is missing?

    Hi Garry,
    After you associate the workflow to the content type, you should update the update the content type using
    $ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
     method.
    Here is the completed script:
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $site=Get-SPSite "http://serverName"
    $web=$site.OpenWeb()
    $list=$web.Lists["ListC"]
    $taskList=$web.Lists["Tasks"]
    $historyList=$web.Lists["Workflow History"]
    $ct=$list.ContentTypes["Link"]
    $culture=New-Object System.Globalization.CultureInfo("en-US")
    $wfTemplate=$web.WorkflowTemplates.GetTemplateByName("Three-State",$culture)
    $associationWF=[Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($wfTemplate, "myThreeStateWF",$taskList,$historyList)
    $ct.WorkflowAssociations.Add($associationWF)
    $ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
    Here is a demo about how to update it using C#
    http://www.thorntontechnical.com/tech/sharepoint/sharepoint-2010-associate-workflow-to-content-type-in-a-feature
    Wayne Fan
    TechNet Community Support

  • Deploying Office 2003/2007/2010/2013 with App-V Resources and Solutions

    Please do not respond to this thread with sequencing issues - please start a new thread.
    The following articles and resources are available for virtualizing various versions of Office with App-V 4.6 and 5.0:
    Microsoft Guidance
    Important: Supported scenarios for deploying Microsoft Office as a sequenced App-V Package
    Prescriptive Guidance for Sequencing Office 2010 in App-V 4.6 SP1
    Prescriptive guidance for sequencing Office 2010 in Microsoft App-V
    Known issues and limitations when using virtualized Office 2010 applications on App-V 4.6 and App-V 4.5 SP2 clients
    Deploy Office 2010 by using Microsoft Application Virtualization
    How to use System Center Configuration Manager 2007 to confirm that the Microsoft Office 2010 Deployment Kit for App-V is installed
    Everything You Need to Know for a Successful Microsoft Office 2013 App-V Deployment
    Microsoft Resources
    Microsoft Office 2010 Deployment Kit for App-V
    Microsoft Application Virtualization 4.5 Service Pack 2
    Microsoft Application Virtualization 4.6 Service Pack 1
    Building a Technical Proof of Concept for the Joint Deployment of Windows 7 and Microsoft Office 2010
    App-V Package Accelerator for Microsoft Office Professional Plus 2010 -Windows 7
    App-V Package Accelerator for Microsoft Office Professional Plus 2010 (Windows XP)
    App-V Package Accelerator for Microsoft Project Professional 2010 (Windows 7)
    App-V Package Accelerator for Microsoft Project Professional 2010 (Windows XP)
    Microsoft Official Blogs
    Sequencing Office 2010 for App-V - Part 1: Considerations
    Sequencing Office 2010 for App-V, Part 2 – Preparing the Sequencing Workstation
    Sequencing Office 2010 for App-V, Part 3 – The Actual Sequencing Part
    Sequencing Office 2010 for App-V, Part 4 – Getting it to your users
    Solution: Possible Side-by-Side error when sequencing Office 2010 on Windows Vista
    When to sequence Office 2010 from scratch and when to use the Package Accelerator
    App-V MVP Resources
    White paper - The Definitive Guide to Delivering Microsoft Office with App-V
    softgridblog.com: Microsoft Office 2010, more integration in App-V 4.6
    Delivering Office with App-V – Sequencer Recommendations & Best Practices
    Threads with solutions:
    Cannot Open Office Documents from SharePoint with virtualized Office 2010
    KMS Key problem sequencing Office 2010
    Office 2010 Adding Additional Proxies
    Outlook 2010 Virtual Search Issues
    Office 2010 Searching
    Office 2010 Excel Documents will not open from Explorer
    sequencing project 2010 successfull, but features (icons) missing / greyed out
    Technet License Key problem with Microsoft Office 2010 Deployment Kit for App-V
    Outlook mailto FTA
    Sequencing Office 2010 x32 on App-V 4.6 x64

    Don't forget these helpful lists either!!! :)
    http://blogs.technet.com/b/gladiatormsft/archive/2013/01/26/must-have-app-v5-0-migration-resources.aspx
    http://blogs.technet.com/b/gladiatormsft/archive/2013/02/02/office-2013-deployment-and-migration-resources.aspx
    Steve Thomas, Senior Consultant, Microsoft
    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat
    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/
    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

  • Please,I Can't deploy Union Comand in SQL Stament With XMLGEN

    I Have a Problem in SQL Stament
    I Traying execute this SQL Stament With XMLGEN
    Select
    Number as "@Number",
    NumRow as "@NumRow"
    from
    NewTable1
    Union
    Number as "@Number",
    NumRow as "@NumRow"
    from
    NewTable2
    Result: Show only NewTabla1 Rows.
    How I Can Solution This Problem

    Unless you're using the max-rows property which might be restricting the total number of rows, there's no way that XSU itself could affect the query outcome.
    If you reverse the order of the queries
    in the UNION, do you only get the rows from TABLE2 instead? Or regardless of order, you only get them from TABLE1?

  • Can't use my Samsung ML-2010 printer with this iMac

    The software download options from Samsung for Mac do not include ML-2010. I'm glad to have a new computer, but not happy that my printer is unusable with it. The printer is, however, compatible with my year-old Acer laptop. Any suggestions would be appreciated.

    Sorry, I don't have that printer to try it, but I'm fairly certain that the "Samsung GDI" open-source drivers will work (even they don't have the page updated to say 10.9)
    http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/samsun g-gdi#Printers
    It's in 3 parts - all 3 required.
    Andy_ball beat me to it!

  • Workflow 2010 set list item permissions

    I have a sharepoint 2013 list set up with two kinds of users (Approver and Employees) needing access:
    Approvers - need full control on the list/site
    Employees - can only have edit/read access to their own list item or entry
    I'm using SPD 2013 with workflow 2010 platform, the workflow runs when approvers submits an entry (via people picker) for an employee. The part I'm having trouble with is granting
    employees their permissions above when the item is created.
    Following a web example, in the impersonation step I'm simply using add list item permissions action to grant the employees.
    In another workflow I'm sending them notification to the edit form, but they can't access the link.
    If I add the employees in one of the site's permissions group like visitors group then they can access the list but that would give them access to everything.
    Hope I explained the issue well, please let me know if anything is not clear. Thanks in advance!

    Hi
    That's not actually true, when you create a group in sharepoint you don't need to assign it any permissions, i.e.
    you create a group called 'NewListViewers' and don't assign it any permissions to the site
    you add members to this group (they have no permissions to the site or content within the site)
    you then customise the permissions of a list and grant this new group whatever permission you want (presumably contribute), the group only has permission to the list.  Add the approvers group with full control and your done.
    As for having users read only own items, simply amend the advanced settings read access to be '<label for="ctl00_PlaceHolderMain_ItemLevelSecuritySection_ctl09_RadReadSecurityOwn">Read items that were created by the user</label>', now
    they can only view/edit their own items and approvers can see everything.
    Regards
    Sergio Giusti Sergio Blogs
    Linked
    In Profile
    Whenever you see a reply you think is helpful, click Vote As Helpful.
    Whenever you see a reply you think is the answer to the question, click Mark As Answer.

  • Can't retrieve approval status in Globally Reusable Workflow (Approval - Sharepoint 2010)

    For day's i am trying to implement the following in one of the standard, out of the box, Globally Reusable Workflow with Sharepoint Designer 2010:
    If Current Item:Approval Status not equals 0:#Approved Start Approval Workflow Task process on Current Item with Parameter:Approvers Else //Nothing
    This is to prevent that a workflow is started if the item is already approved! The strange thing is, a buddy of mine has also Sharepoint 2010 and he can select in the DropDown list -Current Item: -> Approval Status..
    But the only things I can select are the following:
    Content Type
    Created By
    ID
    Modified
    Modified By
    Title
    I don't understand what is going wrong! What am i forgetting to configure or bind or set?

    I have found the solution!
    I have setup an test environment, Sharepoint 2013 on MS Server 2008R2 and installed Sharepoint Designer 2013. When I now edit the default out of the box "Approval - Sharepoint 2010", if you enter the condition "if current item field equals value", you can
    now select "Approval Status"!!
    So this means that it IS available after all! After a lot of trying, searching, this is the solution in a Sharepoint 2010 environment, installed on MS Server 2008R2:
    Edit the (global or copied version if you want) workflow.
    Add the condition "if current item field equals value" as a step.
    Select from the item field: Content Type
    Click on "equals" and change it to "not equals"
    Then click on the condition and enter manually the following: 0;#Approved
    Move the task "Start Approval Workflow Task..." up so it is a part of the condition "If.. "
    Add an Else condition
    Enter here your custom action or log to show the user that the Task is not performed.
    Save the workflow.
    We now have to manually edit the Workflow Rules file.
    In Sharepoint Designer 2010, click at the left side of the ribbon on "All Files".
    If you have created a custom workflow, you can find the "Workflow.xoml.rules" file, in the folder
    Workflows/"Your custom workflow"/"CustomWorkflow.xoml.rules".
    If you are using the global, out of the box Workflow, you can find the .rules file in:
    _catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules
    Click on the file, then in the next screen click on "Edit file" under Customization. 4.Search for the string "ContentType" 5.When you have found the string, it looks a bit like this:
    ns1:String xmlns:ns1="clr-namespace:System;Assembly=mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">ContentType ns1:String
    (When you look a few lines below this line, you see your added condition 0;#Approved)!
    6.Replace the string ContentType with: _ModerationStatus 7.Save the file! 8.Open in the current directory the "Workflow.xoml" file (this is the workflow itself) 9. Click on the Save button, it will give you a notice:
    A more recent version of _catalogs/wfpub/Approval - SharePoint 2010/ReviewApproval_1033.xoml.rules has been saved to the server by "user" on 1/5/2014 10:50 AM.
    Do you want to replace this with your file?
    Click NO! (Important, otherwise it will replace it with the default rules file, and nothing has changed!)
    Close Sharepoint Designer 2010, reopen SPD2010 and go to the workflow.
    Edit the workflow and you'll see the following now:
    "If Current Item: equals 0;#Approved"
    The field Content Type is now gone! This is correct so don't worry!
    Publish the workflow and you are done!
    Check now on a library that has a link to the edited workflow, when you start a new Workflow on a Approved-Major version of the document, what the outcome is:
    The workflow is discarded because of the condition and nothing happened, so your document stays on the most recent Approved-Major version and is not published back to a previous version number!!
    Conclusion: I think that the Sharepoint 2010 Designer, is missing that specific "Approval Status" field, but with the solution i have just given, you can solve this!
    C# for the win!

  • SharePoint Designer 2013 (2010 Platform Workflow) - How can I create a new list item with a SPECIFIC content type?

    In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library). 
    We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform.  Is there any way to create a list item with specific content
    type?  Even if I could just input a string into that field instead of using this blank drop-down.  Please help! 

    Hi Sarah,
    According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
    I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
    How did you create the content type?
    Please check if the content type is added to the list/library the workflow associated with.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010?

    Can we develop a solution in Visual Studio 2012 and still deploy it on BizTalk 2010? or Is it that solutions developed in VS 2012 have to be deployed only to BizTalk 2013?
    Thanks

    BizTalk 2010 projects are not compatible with Visual Studio 2012. To use Visual Studio 2012 with BizTalk 2010 projects, you must install
    BizTalk 2013 on the computer that has Visual Studio 2012. The first time you open a BizTalk 2010 project, it is automatically upgraded to the BizTalk 2013/Visual Studio 2012 project system
    Refer
    this.
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.

  • How to use existing WSP file of reusable workflow and create sanbox solution?

    Hello,
    I have to migrate the SharePoint Designer 2013 workflows from Development environment to Production environment. So, I am following the process which is mentioned in this blog:
    http://sharepointyankee.com/2010/12/11/options-for-deploying-reusable-workflows-in-sharepoint-2010/
    And it is working also, but problem is that; this visual studio solution is getting deployed as a Farm Solution and I wanted to deploy it as a sandbox solution. 
    Is there any way to achieve this?
    I have also tried one more way which is:
    Create SharePoint Custom Workflow Project as a sandbox solution in Visual studio.
    Get WSP file from development site (as mentioned in above referenced blog)
    Open WSP file and copy the content to Visual Studio Created project
    But this solution is also not working; "Feature is not getting deployed as sandbox solution" error is occurring.
    Can anyone please help me on the same?
    Thanks,
    Asim

    Hi,
    When you export SPD workflow, it will be a sandbox solution only, you are not required to configure further.
    Just import the workflow into Visual Studio, and make the changes that are required. you are good here.
    you can set the scope attribute in your WSP feature element.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Form error in reusable workflow

    Hi all
    I have taken a copy of the 'Approval - SharePoint 2010' workflow, and plan to customise it as a reusable list workflow.  After publishing the workflow, and adding it to a list in my site, i am trying to start the workflow with an approver and recieve
    the following error:
    It seems that the error is related to the Approvers field as it disappears when the error pops up.  I've noticed that if the Approvers field is left blank, then the form submits without error (i would expect the opposite to be happening).  I've
    also tested the 'Approval - SharePoint 2010' workflow on my list and this works fine.
    The form and workflow have not been customised in any way at this point.
    The error log reports:
    07/17/2012 09:55:26.42  w3wp.exe (0x2A58)                        0x3878 InfoPath Forms Services       
    Runtime - Business Logic       82g1 Critical There was a form postback error. (User: ****************, Form Name: Template, IP: , Request: *********************/_layouts/IniWrkflIP.aspx?List={d316b0ca-6659-46ea-86cb-db02f047704f}&ID=24&TemplateID={3983d8f1-b720-4175-bda7-d9bd74341446}&Source=*************/Lists/ChangeList/AllItems.aspx,
    Form ID: urn:schemas-microsoft-com:office:infopath:workflowInitAssoc:-AutoGen-2012-07-17T08:51:21:140Z, Type: SchemaValidationException, Exception Message: Schema validation found non-datatype errors.) ac07586b-01da-4fcc-bc30-be11fd21964d
    Can someone shed any light on this?
    Thanks
    Asher
    Fast, Cheap, Good. Choose any Two!

    Just so we are on the same page, I followed what you did exactly. I created a new site collection and root web using the (Team Site Template). I took a copy of the "Approval - SharePoint 2010" Workflow using a machine with the KB2553322 Patch. It created
    a Reusable Workflow called "Workflow 1". I attached it to the default Documents Library. And, as expected, I encountered the same issue. "The form cannot be submitted because of an error."
    I then opened the Workflow in the Virtual Machine I created to test this patch (After installing InfoPath I had to remove the update again even though it was still a pending update). Turns out there are 2 updates under KB2553322 one for Office Professional
    Plus and one for SharePoint Designer, you need to remove both.
    To verify that it is the same problem. In SharePoint Designer, open the site, go to All Files, Workflows, the Name of the Workflow ("Workflow 1" for me) and Open WorkflowName.xoml.wfconfig.xml, then click Edit. Now, in the XML Path, WorkflowConfig ->
    Initiation-> DefaultData -> dfs:myFields -> dfs:dataFields -> d:SharePointListItem_RW, the node will look like
    <d:Approvers>
    <d:Assignment>
    <d:Assignee xsi:nil="true"/>
    <d:Stage xsi:nil="true"/>
    <d:AssignmentType>Serial</d:AssignmentType>
    </d:Assignment>
    </d:Approvers>
    When it should look like:
    <d:Approvers>
    <d:Assignment>
    <d:Assignee/>
    <d:Stage xsi:nil="true"/>
    <d:AssignmentType>Serial</d:AssignmentType>
    </d:Assignment>
    </d:Approvers>
    So, how do you fix it? and also without SharePoint yelling at you. I also tried just publishing both workflow and InfoPath form with no success.
    Open the Workflow in SharePoint Designer
    In the Ribbon click Initiation Form Parameters
    Click OK without changing anything
    Republish the workflow, It will warn you that the infopath form has been customized.
    Open the Form that says needs update, it will prompt you that the workflow has changed and InfoPath will update the form.
    Save and Publish the Form
    Publish the Workflow, again
    After that, if you check the .xoml.wfconfig.xml file, it will be updated to the proper version. If you run the workflow in SharePoint, it will still have any customization you had before, with the added bonus that it will work.

  • What cannot be and can be deployed in sharepoint sandbox solution

    what cannot be and can be deployed in sharepoint sandbox solution

    Hi,
    Sandboxed Solution Limitations
    When a sandboxed solution is deployed, the array of SharePoint functionality available to it is limited to help reduce any security vulnerabilities it may have. Some of these limitations include the following:
    Sandboxed solutions have a restricted subset of deployable solution elements available to them. Potentially vulnerable SharePoint project templates, such as site definitions and workflows, are not available.
    SharePoint runs sandboxed solution code in a process (SPUCWorkerProcess.exe) separate from the main IIS application pool (w3wp.exe) process.
    Mapped folders cannot be added to the project.
    Types in the Microsoft SharePoint Server 2010 assembly Microsoft.Office.Server cannot be used in sandboxed solutions. Also, only types in the Microsoft SharePoint Foundation 2010 assembly Microsoft.SharePoint can be used in sandboxed solutions.
    It is important to note that specifying a SharePoint solution as a sandboxed solution has no affect on SharePoint server; it only determines how the SharePoint project is deployed to SharePoint from Visual Studio and what assemblies it binds to. It does not
    affect the generated .wsp file, and the .wsp file has no data that directly correlates to the Sandboxed Solution property.
    Capabilities and Elements in Sandboxed Solutions
    Sandboxed solutions support the following capabilities and elements:
    Content Types/Fields
    Custom actions
    Declarative workflows
    Event receivers
    Feature callouts
    List Definitions
    List Instances
    Module/files
    Navigation
    Onet.xml
    SPItemEventReceiver
    SPListEventReceiver
    SPWebEventReceiver
    Support for all Web Parts that derive from System.Web.UI.WebControls.WebParts.WebPart
    Web Parts
    WebTemplate feature elements (instead of Webtemp.xml)
    Visual Web Parts
    Sandboxed solutions do not support the following capabilities and elements:
    Application Pages
    Custom Action Group
    Farm-scoped features
    HideCustomAction element
    Web Application-scoped features
    Workflows with code
    Refer to the article
    http://msdn.microsoft.com/en-us/library/ee231562.aspx
    Please Mark as Answer if its HelpFul

  • Transfer reusable workflow and maintain content type

    I need to transfer a 2010 reusable Workflow from the test to the production environment. I create the workflow with SharePoint Designer 2013, and I select a specific content type. After having imported it in the new environment, I can't set a specific Content
    Type (the only option for Content Type is "ALL").
    Thanks in advance for the help!

    Hi,
    As I understand, you would like to migrate a reusable workflow to another farm, please try the methods below:
    1.Copy and Modify the reusable workflow in production envrionment, try if you could associate a new content type to it.
    2.If it doesn't work, save the original workflow in test environment as a template, then move to production envrionment:
    http://blogs.msdn.com/b/allengeorge/archive/2013/04/18/move-copy-a-designer-reusable-workflow-to-a-new-site-farm.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Is this really a "bug" in dba_tab_columns?

    Hi Guys, it's Xev. I have been struggling with this for weeks now. No matter what I do, I cannot get my procedure to see dba_tab_columns inside of my procedure at run-time. It just blows up and says "cannot see table or view", that generic answer. Is

  • BAPI_PRODORD_CHANGE in a loop - Error CO469

    Hi all, I´m trying to update a few production orders in an own report. The order numbers are stored in an internal table. The processing is done on a loop. The problem is, that i always/sometime get an error CO469, which says that on of the productio

  • My time machine has a blinking amber light and it won't backup

    I recently added a new network with AT&T  My time machine is now blinking amber and I can't figure out how to fix it.  I also have the 10.9.5 operating system....i didn't download it my computer did.......thats how smart I am.  I am very computer stu

  • N8 Maps screen size after Belle Update

    Not to happy with the map app changes. But anyway. The new Drive app seems to only show the map on half of the screen with the other half of the screen being used for time and distance. Is ther anyway of deselecting these and having the map across th

  • Indesign CC has started crashing on startup

    Hello, InDesign CC has suddenly started crashing every time I try to start it up. I have tried turning off all fonts (in FontExplorer X), deleted the preferences, uninstalled and then reinstalled InDesign. Nothing works. Last week it worked, now it d