How to re-associate a list workflow to the list???

I have a list and had created a list workflow.  This workflow had appeared in the "Workflows" area of the list when the list is viewed in SharePoint Designer.  The workflow reference was accidentally deleted from the list.  The workflow
itself was not deleted, just the reference that is listed in the list definition.  How can I re-associate that list workflow to the list??? If I am at the site in the browser and go to the "Add a workflow" area, it only lists some default template
workflows and any reusable workflows.  It does not list my list workflow.  So now I have a list and a list workflow, but they are no longer joined.
Any thoughts- Peter

Should be an issue of changing some ID values. I've not tried this yet but hopefully this will help to get you started.
http://itrathnasekara.blogspot.mx/2012/11/how-to-re-associate-list-workflows-with.html
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem.

Similar Messages

  • How do I manually start a workflow to...

    I have a list with 2000+ items in it. I create a 2013 workflow in SPD that will look at an item and if it date is less than 1/1/2013 it will create a copy of the item on a list used for archiving, then delete the existing list item. 
    My question is how do i manually start this workflow on the entire list (instead of selecting 1 item at a time)?
    Thanks
    James T.F

    @Romeo
    I've found to potential PowerShell scripts that could launch a list workflow from powershell, but they both throw errors for me. 
    # URL of the Site
    $web = Get-SPWeb -Identity "https://sharepointsrv/site1"
    $manager = $web.Site.WorkFlowManager
    # Name of the list
    $list = $web.Lists["Shared Documents"]
    # Name of the Workflow
    $assoc = $list.WorkflowAssociations.GetAssociationByName("On Item Created","en-US")
    $data = $assoc.AssociationData
    $items = $list.Items
    foreach($item in $items)
    $wf = $manager.StartWorkFlow($item,$assoc,$data,$true)
    $manager.Dispose()
    $web.Dispose()
    this gives me the following error
    Exception calling "StartWorkflow" with "4" argument(s): "Value cannot be null."
    At line:15 char:28
    + foreach($item in $items) { $workflow = $workFlowManager.StartWorkFlow($item,$wor ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentNullException
    The other PS Script
    $sourceWebURL = '<URL>'
    $sourceListName = '<List Name>'
    $TargetWorkflow = '<Workflow Name>'
    $spSourceWeb = Get-SPWeb $sourceWebURL
    $spSourceList = $spSourceWeb.Lists[$sourceListName]
    #Getting a Workflow manager object to work with.
    $wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($spSourceweb)
    #Getting the subscriptions
    $sub = $wfm.GetWorkflowSubscriptionService()
    #Getting the specific workflow within the list of subscriptions on the specific list. (SP2010 associated workflows basically)
    $WF = $sub.EnumerateSubscriptionsByList($spSourcelist.ID) | Where-Object {$_.Name -eq "$TargetWorkflow"}
    #Getting a Workflow instance in order to perform my commands.
    $wfis=$wfm.GetWorkflowInstanceService()
    Foreach($item in $spSourceList){
    #Creating the dictonary object I need to parse into StartWorkflow. This could be most other workflow commands.
    $object = New-Object 'system.collections.generic.dictionary[string,object]'
    $object.Add("WorkflowStart", "StartWorkflow");
    $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)}
    Which then gives me this error.
    Cannot convert argument "itemId", with value: "GUID", for "StartWorkflowOnListItem" to type "System.Int32": "Cannot convert the "GUID" value of type "System.Guid" to type
    "System.Int32"."
    At line:23 char:5
    + $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

  • How to send email to external users using the distribution list from workflow

    I have created distribution list in SO23 with external email addresses.
    How I can use distribution list in "Send Mail component" or I should use another component?
    It works fine for a single email address. And distribution list works fine when I use it via SBWP.

    Hi,
      Take activity step instead of Mail step. User fm SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
    And use fm SO_DLI_READ_API1 to find list of user from    distribution list. You can    find how to use this fm in rule 30000012

  • How do I associate my iPhone (all my iDevices) with a new computer?

    This question has been asked, but my situation is a bit different.  I have a 4 year old MacBook Pro.  My iPhone (4S), iPod Touch (4th gen), and iPad 3 are all associated with this computer.  I just bought a new Mac Mini and want to associate these three devices with the Mini and "abandon" the MBP (even though I will still be using it for other things).
    I have already transferred ALL the content (Music, Podcasts, iTunes U, Movies, etc.) in my MBP's iTunes library onto my Mac Mini's iTunes library.  They are essentially mirror copies of each other.  I also subscribe to iTunes Match.  So ALL my music is accessible via the Cloud.  I have already turned on iTunes Match with the Mini and downloaded all the songs in my library to the Mini except a small number that I hardly ever play.  I left them in the Cloud.
    Now, my semi-ignorant intuition says I should be able to create a backup of each iDevice "to my MBP" (not to iCloud) and then copy the backup and transfer it to my Mac Mini.  (How I do this I am not sure.  Transfer the backups to an external hard drive and then to my Mac Mini?)   Where are these backups on my MBP anyway?
    Then I thought I could connect my iDevices to my Mac Mini and "Restore from Backup"  (The backup that I transfered from my MBP).  This way my iDevice would come out of this whole process looking just like it was before...more or less.  All my apps would be in the folders I created for them, e-mail accounts would be preserved, etc.
    Or is there something even better...faster.  I mean, the two libraries are exactly the same.  It would be nice if I could just associate the iDevices with the new computer and not have to restore at all.
    OK, I throw myself at the mercy of the court.  I don't dare touch these devices until I am sure I won't totally jank them all up.

    I'm Back.
    With Big Al's help and some trial and error I have succeeded in transferring "ownership" of my 3 iDevices over to my new Mac Mini.  However, as I expected, some "Poop Happened."  However, it was not because of bad advice from the Big Boy.
    Here is a summary for those attempting this in the future.
    1.  I THOUGHT I did a complete recreation of my MBP's iTunes library on my Mac Mini.  Really.  I did.  I used Home Sharing between my MBP and my Mac Mini to import "everything" from the MBP's iTunes library to the Mac Mini.  In almost every respect, that method worked beautifully.  Highly recommended.  What I had forgot is there was one glitch.  It was with a collection of podcasts of Steve Jobs being interviewed by the folks from All Things Digital.  I believe there are 6 video podcasts and one .pdf in the series.  For some reason, there was a problem when I tried to import that particular podcast collection to my Mac Mini.  So, I just bagged the import and went to the iTunes store and download the podcasts and .pdf, fresh and new, from the store.  So, strictly speaking, my Mac Mini Library wasn't EXACTLY the same as my MBP's.
    2.  I then connected my iPod Touch 4G to my Mac MIni to start the process of coverting ownership of that iDevice to the Mini.  Unfortunately, when I was done, there was a problem.  It was that podcast series.  When I went to set up wireless syncing of the iPod Touch I noticed that BOTH my MBP and my Mac Mini were listed under Wireless syncing!  The MBP had podcasts under its name.  The Mini had all other types of iTunes media under its name.  I didn't even know this was possible.  But, I knew this was not good.  In fact, my iPod Touch would still try to connect with my MBP when I open iTunes on the MBP.  It would also connect to my Mac Mini.  This is not suppose to happen!
    3.  So, after some head scratching and messing around, with no luck at resolving the situation, I decided to restore the iPod Touch FROM BACKUP (while my iPod Touch was connected to my Mac Mini...of course).  I first made a full backup of the iPod Touch to my computer then fired away and let the process run its course.
    4.  SUCCESS!  The iPod Touch no longer had and remnants of its former life with the MBP.  Under Wireless Syncing only the Mac Mini now appeared.  I performed the procedure with my iPhone 4S and iPad 3 connected to my Mac Mini.  Totally successful also.  By that point it was 2:00 AM and time to go to bed.
    5.  I don't know if Big Al's advice would have worked if I had not messed with the podcast section of my iTunes library.  But, I suspect it probably would have.  So, my advice is...if you are going to do this, try at all costs to not change a thing when you recreate your iTunes library on your new machine.  Even if it's just a new copy of the same media.
    BTW, the restoring wasn't a total waste of time.  I had accumulated about 7 GB of "other" data on my iPad.  For those of you who are up on this issue, it can be a real problem as it robs your iDevice of its precious, limited memory.  After restoring from backup the "other" data on my iPad had dropped to about 1 GB.  I actually wasn't surprised that this happened as this is one of several workarounds folks have developed to deal with what appears to be a problem iOS 6 has with the management of "other" data.
    Bring on iOS 7!
    Oh!  I forgot.  One more piece of feedback.  Big Al's link also helped me get my iDevices to appear under "Devices" in the left column of the iTunes screen.  In my case, the suggestion from his link that worked was to shut down and restart my computer.

  • How do I associate a device with my Apple ID?

    I have an iPad and an iPhone.  I sync them with my iMac desktop computer, and never with any other.  I always use the same Apple ID.  As far as I know, it's the only one I have.
    Recently, I purchased an app using my iPad.  The next time I synced the iPad with the computer, I got an alert saying "The purchased item 'App' on the iPad
    'Etchemendy's iPad' could not be transferred to your iTunes library because you are not authorized for it on this computer."  The alert goes on, in fine print, to say, "To authorize this computer for items purchased from the iTunes Store, choose Store > Authorize This Computer."
    So I choose Store > Authorize This Computer, and I get a second alert saying, "This computer is already authorized."  A nifty little continuous loop that neatly precludes me from using the app on any device except the one I used to purchase it.
    But it gets better.  In stumbling around trying to figure out what's going on here, I accessed "My Account" using iTunes on my desktop computer (logging in with the same Apple ID I used to purchse the troublesome app).  When I click "Manage Devices," I arrive at a box that says, "These computers and devices are associated with your Apple ID for Automatic Downloads or to download previously purchased music, apps, and books..."  It then gives me a "list" showing just one device -- my iPhone.  The iPad is not shown here.  Neither is the desktop computer iTunes just told me is already authorized.  There's a button that says "Remove" next to the iPhone.  And two bigger buttons.  One says "Cancel" and the other says "Done."  There is no "add a device" option.
    So how to I associate a device with my Apple ID?  And, as a matter of fact, why aren't all the devices I registered using my Apple ID already associated with it?  I never had any of these problems till the big iOS system upgrade a few months ago.  Since which, my interactions with Apple have nearly all been nightmarish.  Apple obviously put the WAY wrong guy in charge of iOS development.
    Oh.  And BTW, when I look at the drop-down menu for choosing the "product" I'm having a problem with, only about half the devices registered with my Apple ID appear there.  And I have no clue what kind of iPad I currently have.  I have the warranty right in front of me, and all it says is "iPad WiFi 64GB Black." No doubt if I try to solve this using Apple phone support, I'll have to pay $20 to straighten out Apple's problem for them.  Which is why I'm here.

    My guess is you're using a long Apple ID and just omitted or mistyped a letter sometime, or something similar.
    Anyway, the way to recover is this:
    You cannot change ownership of the mistyped Apple ID to the correct one.  After all, the mistyped one purchased it.  However, you can authorize purchases from the mistyped Apple ID on your devices by doing Store > Authorize This Computer on iTunes on your computer, and enter the mistyped Apple ID and password.  Then sync again and you'll be all set.
    When you change computer (e.g., sell your current one and buy a replacement), you'll have to repeat this process.

  • How to create users ,groups and  workflow in batch?

    I have to create 100 groups for each course,and each course has a admin user.Each group has some workflows .These workflow can only be viewed by some users.
    Can i import user name and password from a .txt file and do the work automatically?
    It is a hard work if i do it manually.

    I'm not sure you want to import users to use the magic triangle properly. I think importing creates 'Augmented Records' - the user icons have blue dots.
    The principle is this…
    Bind the server to Active Directory (AD) & create an Open Directory master (OD). This can be done from Server Admin, in the OD section, via the change button.
    Then you use Workgroup Manager, set the viewing directory (tiny little globe in top left) to use LDAP records on the server - LDAPv3/127.0.0.1. Authenticate (lock on right of toolbar) add a group, then switch to to its Members tab, click + Then change the user list to show the AD records & add the AD users to the OD group. It sounds weird & wrong, but it is how it works.
    You are never modifying the AD records, just assigning a group to the users in OD. It's why the clients need to bind to AD & OD.
    From there you can set the Managed prefs (MCX) for the members of the OD group. It also helps to add a guest computer account to OD to assign computer prefs based on the macs that bind to the server - it's in the File menu when you select the computes list in OD.
    I hope that's clear, not sure I can help with the other tasks, but they tend to fall into place once you have the complex start in place.

  • How to make a alphabetical list of names

    How to create an alphabetical list of names

    Dale:
    In the Photos window turn off the Event Titles so all you see are the photos. Then sort by keyword, ascending or desending. The photos without a keyword will be at one end of the display of photos. Find all of the photo without a keyword and batch add a new, unique keyword. Then make a smart album with the criteria Keyword is not "XXXX".
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to set field value in workflow SPD2013?

    Hi All,
    how to set field value in workflow SPD2013? Actually using Infopath, i need to update a field value through workflow.(Little differnt from SPD2010). How to do this?

    As Amit says, some elaboration here would be good.  You can use InfoPath as a form for either a list or a library and then set it to trigger a workflow upon item creation.  The workflow will consist a number of actions, one of which is the Update
    Field Item.
    More information on the available steps can be seen here.
    http://msdn.microsoft.com/en-us/library/office/jj164026.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • State machine custom task workflow how to pass one task field value to the next task field

    i am using ItemMetadata.xml to pass value from list to custom task first value its passing the but second value is showing as null
    plus how to pass one custom task value to the next custom task
    i.e one supervisor approver comments submitted field i want to see on department manager approval custom task which is the next approver from supervisor
    ows_firstfield=""
    ows_SecondField=""
    the above ows fields are from list
    in this i am unable to retrive the second value in the task form this is my first query?
    second query is that how can we pass one task field value to next approver task field value?
    any idea
    MCTS,ITIL

    What type of workflow is this?  IS this Visual Studio or SharePOint designer or third party (K2, Nintex, etc...)?  YOu should be able to get ahold of the task that was edited via the correlation token, and then grab any value you want from that
    task (wether it be a custom field or a standard worfklow task field). 
    It would help to know what you are using to build the workflow.
    Thanks!

  • How do I associate playlist track info with a "blank" CD?

    iTunes 6 "quit unexpectedly" when it had just finished burning a 25-track CD, but before it had time to associate the track listing info in my playlist with the actual disc.
    So now I have a "blank" Audio CD on my desktop with just Track 1 / Track 2 etc. As I still have the playlist, how do I "associate" the track info in the playlist with the CD itself? I don't want to manually copy and paste Artist / Title / Album 25 times over, so how can I do this?
    This is urgent as I want to delete the tracks in my iTunes Library now I have the CD.
    iMac G5 17" 1.5Gb RAM   Mac OS X (10.4.7)  

    You will either have to manually edit all the info for the 'blank' CD, or (perhaps easier) you could just delete it an burn a new CD.

  • How to customize SharePoint Foundation 2013 workflow notification emails

    We have a SharePoint Foundation 2013 workflow that sends emails when certain criteria are met. We have tried to customize the emails using SharePoint Designer, but the emails that are received are different.
    Ho do we configure SharePoint to send the emails formatted as we specified in the workflow?
    The emails we receive are all formatted like this:
    Subject:
    [Company Name Workflow] - [Item] has been assigned to you
    Content:
    Task assigned by [User Name] on [Date].
    To complete this task:
    1.    Review [Item].
    2.    Perform the specific activities required for this task.
    3.    Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click here to request access.)

    Hi,
    According to your post, my understanding is that you want to customize SharePoint Foundation 2013 workflow notification emails.
    We’ll need to do a few things to replace SharePoint’s default notification with our own. The first thing we need to do is turn off SharePoint’s default notification. On the Workflow Tasks list, go the Advanced Settings and select
    No for Send e-mail when ownership is assigned. Then we need to create workflow to send email.
    There is an article for your reference, although it is about the SharePoint 2007, it still works for SharePoint 2013.
    Create a Detailed Custom Task Notification with a SharePoint Designer Workflow
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create a Custom List without the column "Title" ?

    Maybe this one is easy as it sounds, I just want to know how to create a little list for my SharePoint application featuring 3 columns:
    1 - User Name (this should be Person type - UNIQUE + Required)  
    2 - Report (Memo - Required)
    3 - Status (Choice + Required)
    The list will be used to allow the users to submit a weekly report and I don't want to include the title because there is no use to me, I know I can hide the column by customizing the list but this sounds very amateur even for a newbie like me (yeah... sounds
    so cheap!), since I've been reading a lot about custom content types and I still didn't get the chance to use this properly I was wondering how I could put them to use and I guess the example here would be the best right?  
    I really spent some time trying but I always end getting the Title even when I try to use custom content types so I'm really giving up and asking for some help at this point.
    Thanks a lot for the help!!!

    Yes, you can do that. If you need a different content type with your custom fields. Following are the steps : http://www.dotnetcurry.com/ShowArticle.aspx?ID=620 
    After creating your custom Content Type, Click on the 'Title' filed in your custom content type. 
    In the 'Column Settings' make it 'Hidden (Will not appear in forms)' and click ok.
    Now add this content type to your list/library. 
    In the list/Library go to setting and 'Advance settings' and make the 'Allow management of Content Type?' as 'yes' and click ok.
    Now make default content type not visible from 'Change new button order and default content type' link in the settings page of list/library, and your contet type as 'Default'.
    Create a new view, remove the 'Title' field and make that view as 'dafault' view, you can delete the 'All Items' view also if required.
    Now whenever user come to that list/Library they will not see the title column and also will not appear in the 'New Item'.
    Note : The 'Title' field is mandatory in all the list/library and by default added to the 'All Item' view. So, by doing above steps you are creating a new content type where 'Title' is not mandatory and also not added in default view.
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Report workload by calculating how many versions of SharePoint list items created in a certain time period

    I have a total of 66 SharePoint 2010 lists - yes, 66! - each lists contains between 1500 and 3200 list items.  My employees update these various list items throughout their workday.  Each update to a list item creates a new version of the list
    item.  On average each list item will have anywhere from 5 to 10 versions before it is done.  I need to create a report that tells me how many list items they've updated in a certain time frame.  I have come close but still cannot arrive at
    the data I'm looking for. 
    This is what I have so far:
    I've created a report using SQL Report Builder 2008 v3 where I've filtered it to show only items MODIFIED between, for example, Feb1 and Feb28.  Of those records, I want the report to tell me how many versions were created during that time
    frame.  The result is one list item with 5 total versions.  Versions 1.0, 2.0, & 3.0 were created on 12/12/14.  The last two versions, 4.0 and 5.0, were created on 2/24/15.  Therefore, the answer I'm looking for is 2 because they
    created 2 versions between Feb1 and Feb28.
    However I get the following results using these queries:
    If I do a =Sum(Fields!owshiddenversion.Value) in the expression field I get the total versions which is 5
    If I do a =Count(Fields!owshiddenversion.Value) in the expression field I get the instance which is 1
    Is there a way to count ONLY the number of versions created in a time period?  Is there another hidden field in SharePoint that I can use in the expression that will give me results I'm looking for?

    Hi Rafael70,
    Per my understanding that you have already get all the need fields and informaiton of the updated version of list items and now you want to calculate how many versions of SharePoint list items created in a certain time period, you can't get desired result
    using sum and count function, right?
    I have tried to tested on my local environment but because I am not clear what is value in the field "owshiddenversion", I assumed you have two datatype parameters (StartDate and EndDate) to help filter the report in a certain time period.
    Generally, if you have add the filter correctly, it will filter the correct number's updated version in this time period, I would like you to provide details information as below to help better analysis the requirements:
    Could you please provide sample data of the table.
    Please provide snapshot of the report structure you have currently designed.
    Please try to provide all the expression you have used.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • How can I get a list of apps which are supported on ipod touch model ma623zo?

    How can I get a list of apps which are supported on ipod touch model ma623zo?
    It's about 6 years old I think.
    I have put the latest IOS on there (currently 3.1.3 (7E18)).
    I download apps from the app store but they often fail to launch. I assume they're incompatible.
    Is there a way to check which apps will work and which won't before I buy them?
    Thanks!

    I have no idea how my reply could be "misleading". I stated the exact situation: there are millions of apps in the iTunes Store, and providing a comprehensive, accurate list of which apps support which version(s) of iOS would be highly impractical. You can perhaps help with your search by going to AppShopper:
    http://appshopper.com/search/?search=iOS+3
    That will give you at least some starting points, but AppShopper is neither comprehensive nor completely accurate. I've found a number of apps listed there over the time the site has existed that either are no longer offered or which have been updated beyond the iOS version indicated. But it might help.
    Regards.

Maybe you are looking for

  • Iphone is about to synch 2gb of songs, then suddenly drops to nothing

    Hello My iphone was allowing add to itunes library/transfer to iphone no probs until it sort of crashed and showed the usb > itunes screen of death thing. I tried to restore on main computer but main computer kept failing to download the restore driv

  • Previewing mp3's in the preview panel only works for the first 3 seconds

    When i click on an mp3 to preview in the panel it only plays the first few seconds or so. How can I fix this?

  • IPod Nano.....NEED HELP

    Ok so I recently moved and i don't have access to the computer i was once using, which had my iTunes library on it. I also misplaced the software that came with my iPod, now my question is, is there any way that i could buy the software so that i can

  • Safari web browser issue in 4.3

    Prior to 4.3 on an original ipad I had no issues with accessing my companys web site applications. after purchesing an IPAD 2 I can no longer access the online apps. I get an error "Safari cannot open the page because the network connection was lost"

  • [Solved] All Steam games have low FPS

    Hello Archers! I have recently switched back to Arch a few weeks ago and did not have these issues. However, I did a reinstall due to my own f**kup (it was faster to reinstall) a couple days ago and since then I have had terrible performance with Ste