Adding reusable workflows to lists

Hi
I designed a reusable workflow using sharepoint designer and saved it as a template. then i exported the template and modified the feature.xml and again created the .wsp file. then  deployed it to my sharepoint server using a powershell script.
then i went to my site and activated the feature for that particular workflow. but when i go to the list and try to add a new workflow the one i deployed is not displayed there.
both the list and the reusable workflow use the same content type and i tried to add a new workflow by selecting the available templates under the same content type?
is there a way to connect a list to a reusable workflow which is deployed as a .wsp file? i am new to sharepoint and having issues on fixing this. your kind support is highly appreciated.
thank you.

Was it really a reusable workflow? 
What modification did you made to feature.xml file
I assume you followed below steps
http://plexhosted.com/billing/knowledgebase/255/How-to-create-a-reusable-workflow-in-SharePoint-Designer-SharePoint-2010.html
http://www.mssharepointtips.com/tip.asp?id=1095
http://technet.microsoft.com/en-in/library/ff608128%28v=office.14%29.aspx
Try below
http://www.codeproject.com/Articles/70867/Reusable-and-Globally-Reusable-Workflows-in-ShareP
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • 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.

  • 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

  • Assigning List Fields in a Custom Reusable Workflow

    I am creating a custom Reusable Workflow and associating it with a Task List (base list) as well as another assigned Task List (associated).
    I would like to assign the result of the "Assigned To" column to a "Workflow Variable" so that I can use this value for other Workflow operations as well.
    However, I am having a hard time understanding how to perform lookups and assignments from lists in a Reusable Workflow.  In List-based workflows, I know that I can simply use "Current Item" and that seems to address most needs, but I have
    no idea how to tackle this functionality in an SharePoint 2013 Reusable Workflow.
    I have attached a screenshot of value assignment from SharePoint Designer for your review. The result of this value assignment needs to be assigned to a workflow variable.
    In my test workflow, the assignment of the field from the list never occurs (it is not logged in my Workflow History List), so I am sure something is wrong with the way I am using it.
    Any direction and advice on how to accomplish this is greatly appreciated.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted to know how to use the lookup and assignment from the reusable workflow.
    We could not get the “Assigned To” column in the reusable workflow.
    As when we select the current item or current list, there is no “Assigned to” column in the reusable workflow.
    We can only get the value when the user assigned by the workflow not assigned by the UI.
    If you wanted to get the “Assigned To”, you can use the list workflow to achieve it.
    I created a simple reusable workflow using a “Assign a task” action, we can get the assigned user as the below lookup, you can have a look at it.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Jason Guo
    TechNet Community Support

  • 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!

  • 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.

  • Can workflow task lists integrate into the Timeline webpart in SP '13?

    Hey all!
    Can a Workflow Task List be added to the Timeline web part?
    Thanks,
    TD

    Hi Timothy,
    If you want to integrate task list in time line web part, you can set the datasource property in the web part.
    Here are some detailed articles for your reference:
    http://sharepoint.rackspace.com/task-lists-in-sharepoint-2013
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/07/09/how-to-use-the-timeline-web-part-in-sharepoint-2013.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Workflow task list is missing or damaged. SharePoint 2010

    SharePOint 2010 Enterprise
    Customer created workflows for the annual review of our QPC Emergency Plan.
    The document library  shows that there is a EP_Review workflow “In Progress” for each section.   However if you click into the “In Progress” link to see the actual progress of the workflow it shows no Visio diagram, it’s just a blank white
    space (not even an error message) and under the Tasks section it gives the message:
      "The workflow task list is missing or damaged.  Please contact your administrator for more information"
    I looked in the Task List and there are no tasks showing, which normally does show when we kick off a workflow. 
    I ran a report on the EP_Review workflow for Cancellations and Error messages and the system comes back with the following error message:  "Report contains no Data"
    Log says:
    3/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)) 
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Name=Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Site=/sites/Compliance eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.70  w3wp.exe (SLSPW02:0x8DC0)                0x8418 Document Management Server     Document Management          
     52od Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c]. 
    Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3) level for this list. eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.75  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=32.1239873194787 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.78  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Server              OpenXml                      
     0000 Medium OfficePackageLibrary::OpenPackage(app=3, path=C:\Users\TEMP\AppData\Local\Temp\tmpBAE2.tmp, fcm=3) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData#2). Execution Time=10.6167606926937 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Runtime                      
     tkau Unexpected Microsoft.Office.RecordsManagement.Reporting.ReportEmptyException: Report contains no data.    at Microsoft.Office.RecordsManagement.Reporting.ApplicationPages.CustomizeReport.OKBtn_Click(Object sender, EventArgs
    e)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
    sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly Medium Leaving Monitored Scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)).
    Execution Time=131.764628890724 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Topology                     
     e5mb Medium WcfReceiveRequest: LocalAddress: 'http://slspa02.corp.questar.com:32843/5d041280466646db9f816a170ae8f6b8/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
    MessageId: 'urn:uuid:8f54c63f-a3d4-4180-b9be-2eefe9ff3495' 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (ExecuteWcfServerOperation) 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)
    Any Ideas how I can figure out how to resolve this?
    Thanks for any input

    Hi mikeatquestar,
    it seems you may need to check if should the task able to create at your environement,
    you may try this at your development environment first:
    Saved a task list as a template from a working site collection and moved the template to the problem site collection. Used this template to create a new list, and associated this list to the Workflows task list.
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-list-templates-HA010099156.aspx#BMcreate
    http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • 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

  • Related Item link is broken in DispForm.aspx for a task in Workflow Tasks list if file name contains " ' " (single quote)

    Description:
    We have created a custom workflow in Microsoft Visual Studio 2013 and SharePoint 2013. This Workflow is associated with a Document library.
    This Workflow starts as soon as any new item is created OR updated in Document library and creates a Task in Workflow Tasks list.
     Related Item link is not working in following scenario -
    Upload a file that contains “ ' “
    in its name, in a document library
    Navigate to Workflow Tasks list
    Open View Item form (DispForm.aspx ) of  Task Created by workflow then click on link in Related Item fields
    OUPUT:
    Related Item link  truncates after “ ' “
    Eg.
    Original Link: http://<Site URL>/Documents/te'st.txt
    Related Item Field: http://<Site URL>/Documents/te
    Is this known bug in SharePoint 2013 OR any hotfix available to fix it.

    Hi,
    As I tested per your description, I can reproduce the issue as well.
    From what I have found out, it seems SharePoint resolve single quote into different code in different place. During the test, if I set Task Name to Document Name, single quote will be resolved to &#39; , if I set some field to Document encoded URL, single
    quote will be resolved to %27 . For now, I haven't found out any article talking about this issue.
    As workaround, we may find out a way to change the Related Item field. However, it is OOB field in workflow task (SharePoint 2013) content type, and this content type cannot be modified in form.
    I'd suggest you add new column to get document url and place in the form in Task content type settings.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Adding Images to the List component

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

  • Getting problem with reusable workflow

    I have one reusable workflow. it having more conditions and statements, it is associated to Case Library(Library name-- which holds all case details) .  Based on workflow outcome status cases are forwarding to next level. Case library  have case
    start date, case due date , Case KPI durations columns. Base on case start date case due date , KPI Duration values are updating. Current image will represent conditions and statements
    According to  workflow condition KPI Duration has to update minimum 14. but some cases(Items) KPI Duration column is  updating as an 13, 12,-761 values .
    I have not found any errors are exception or workflow related issues in 14 bin\log folder also. Please help me...

    Hi Chakravarthy,
    The values are less that 14 is because the Find Interval Between Dates action in the workflow.
    The action will use the second date to minus the first date in order to get the days between the two dates, so if the second date is less that the first date, then the value will be negative.
    So in your case, if Today is earlier than Case Start Date, then the Variable: Case KPI Duration will be a negative number.
    I recommend to add a condition after the first step in the workflow to convert the Variable: Case KPI Duration to a positive number.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to set the focus on the new added line in ALV list (OO)

    Dear Friends,
    I have an ALV list based on OO(using alv_grid->set_table_for_first_display), when I click the 'new' button to add a new line, the mouse arrow is always pointing to the first line - not the new created line for user to input!!.
    So how to set the focus (mouse arrow) on the new added line in ALV list for user to input it friendly?
    Thanks a lot!!

    Hello,
    To get the selected line row first we have get all the rows in the internal table.
    When u click on the button when it is creating the new line we have to pass the row number to the call method
    CALL METHOD <ref.var. to CL_GUI_ALV_GRID > ->get_selected_rows
       IMPORTING
          ET_INDEX_ROWS  =   <internal table of type LVC_T_ROW > (obsolete)
          ET_ROW_NO      =   <internal table of type LVC_T_ROID > .
    CALL METHOD<ref.var. to CL_GUI_ALV_GRID>->set_selected_rows
       EXPORTING
          IT_ROW_NO  =  <internal table of type LVC_T_ROID>
       or alternatively
       IT_INDEX_ROWS  =  <internal table of type LVC_T_ROW>
          IS_KEEP_OTHER_SELECTIONS  =  <type CHAR01>.
    http://help.sap.com/saphelp_erp2004/helpdata/EN/22/a3f5ecd2fe11d2b467006094192fe3/content.htm

  • [svn:fx-trunk] 10600: Adding drag support to List - dragInitiator.

    Revision: 10600
    Author:   [email protected]
    Date:     2009-09-25 13:38:22 -0700 (Fri, 25 Sep 2009)
    Log Message:
    Adding drag support to List - dragInitiator. Currently can't drop the dragged items yet.
    - ListItemDragProxy class - default drag proxy for List (through a new style "dragIndicatorClass")
    - Added dragEnabled, dragMoveEnabled properties to List
    QE notes: Dragging from List is now possible. Dropping to different containers will come with subsequent check-in.
    Doc notes: None
    Bugs: None
    Reviewer: Ryan
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
        flex/sdk/trunk/frameworks/spark-manifest.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDrag Proxy.as

  • Edit input/output of a reusable workflow

    Hello all, is possible to change the input and output variables of an already existing reusable workflow?
    We need to delete one of the variables used as output of the process but we cannot find the interface that permits his operation.
    Is this operation possible?

    DSpider wrote:
    When you say input/output, what exactly do you mean? Read/write speeds, network, upload speed, what?
    Because you can probably SSH and run iotop. It's just like top but for disk writes.
    You can also tail a log file and see the changes being made as they happen (if the game server provides logs, of course).
    By input/output, I meant that of a specific program. I've figured this out with screen - it does just what I want. However, now I'm having another problem. My /etc/rc.local contains this to start the game server:
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    su - huskehn -c "cd /home/huskehn/minecraft/server/; screen -S minecraft java -Xms1G -Xmx1G -jar minecraft_server.jar nogui"
    The purpose of the script is to cd to the game server's directory and create a new screen, as my user and not as root, and execute the game server within the screen (that's the java command and everything after it). If I run this script by logging in and typing /etc/./rc.local, it works just as I want it to and the game server starts. However, on system boot, it doesn't seem to run. The game server never starts. Is there some kind of log I can view that could tell me why this is happening?
    Last edited by Huskehn (2012-04-24 00:06:02)

Maybe you are looking for