Add workflow on List by code (Arabic Portal)

Hello,
     I have an Arabic portal.
     I write the following code to add workflow "Publishing approval" on list by code .
     After code run . I open the list and check the work flow . it is not added properly. kindly check the attached file.
     if I run the same code on English portal , working fine
   private static void AddWorkFlowToList(SPSite site, SPWeb web)
            SPWorkflowTemplate approvalWorkflowTemplate = null;
            Guid approvalWorkflowTemplateID = new Guid("e43856d2-1bb4-40ef-b08b-016d89a00409");
            foreach (SPWorkflowTemplate template in web.WorkflowTemplates)
                if (template.Id.Equals(approvalWorkflowTemplateID))
                    approvalWorkflowTemplate = template;
            SPList workFlowTasks = web.Lists[web.Language == 1033 ? "Workflow Tasks" : "مهام سير العمل"];
            SPList historyList = web.Lists["Workflow History"];
            SPWorkflowAssociation wflAss = SPWorkflowAssociation.CreateListAssociation(approvalWorkflowTemplate, "Submit for approval", workFlowTasks, historyList);
            wflAss.AssociationData = GetApprovalWorkFlowData();
            SPList list = web.Lists["CloudTagsList"];
            web.AllowUnsafeUpdates = true;
            list.WorkflowAssociations.Add(wflAss);
            list.Update();
            web.AllowUnsafeUpdates = false;
as u see the work flow not selected . 
ASk

Hi,
Please check whether the list name is valid?
Also, it is recommended to debug your code to watch the variables in use, it will help us to collect more information about this issue.
If all the steps executed as expected, I suggest you create a new list and do the test again.
Feel free to reply with the test result.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • How to again add workflow to workflow completed list item?

    Hi All,
    How to again add workflow to workflow completed list item?Thanks!

    Hi,
    According to your description,my understanding is you want to add a new workflow to the completed list item.
    a) If yes, then you need to follow the same process attaching the workflow to the list/library and while deploying the workflow you should  select  the option "Allow this workflow to be manually started.......".
    Go to the workflow completed list item  and start the workflow which was created newly in the above step.
    b) If your query is want to restart the same workflow for completed list item then,
    You need to go to the workflow completed list item-->workflows-->start/click on  the workflow again.
    To do this, you might have selected the option "Allow this workflow to be manually started......." while attaching the workflow to the list.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ******************************************************************************************
    s p kumar

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

  • Delete SharePoint Workflow History List Questions

    I found the code below here :
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/79aa3bd4-d334-4614-9304-15998a95aefb/delete-list-with-43-million-items-workflow-history-list?forum=sharepointadminprevious
    I originally had 81K items in the workflow history list..Dating back to a year ago, which obviously didn't need to be saved in the workflow history list. And we all know Workflows start to have issues when this WF History list get a lot of items in it.
    my questions are now that I have it cleaned up...
    I have workflows that trigger 30 days prior to when an item expires.  so for example if an item expires 12-15-15, the workflow sends an email 11-15-15.  but these expiration dates can be at any time of the year. for example lets say the
    item was entered on  2-2-15 with expire date of 12-15-15 -  workflow is now  triggered so that emails would be send in 11-15-15 ....
    So if I delete the workflow history list item will it affect the workflow waiting to be triggered?
    Is there a way with the code below to capture workflows that have completed, error'd out, or failed to start?
    As I figure those would be safe to delete if deleting items from the workflow history list affects workflows waiting to be triggered?
    or would it be possible for the code below to be modified  to delete based on either ID of list item and or date range?? 
    like  say  delete  completed workflows at 100 items every thirty days?
    but I can not have a current waiting workflow to trigger & history beaffected by the workflow history list delete.
    ********************************** Code **************************************************************
    $weburl = "http://"
    $listname = "Workflow History"
    #param($weburl,$listname)
    #if ($weburl -eq $null -or $listname -eq $null)
    #    write-host -foregroundcolor red "-weburl or -listname are null."
    #    return
    Add-PSSnapin Microsoft.SharePoint.Powershell -EA 0
    $web = get-spweb $weburl
    $list = $web.lists[$listname]
    $stringbuilder = new-object System.Text.StringBuilder
    try
        $stringbuilder.Append("<?xml version=`"1.0`" encoding=`"UTF-8`"?><ows:Batch OnError=`"Return`">") > $null
        $i=0
     $spQuery = New-Object Microsoft.SharePoint.SPQuery
        $spQuery.ViewFieldsOnly = $true
     $spQuery.RowLimit = 1 // # of items to delete
     $items = $list.GetItems($spQuery);
        $count = $items.Count
      $now = Get-Date
     write-host ("Deleting Items from list started at " +$now.toString())
        while ($i -le ($count-1))
            #write-host $i
            $item = $items[$i]
            $stringbuilder.AppendFormat("<Method ID=`"{0}`">", $i) > $null
            $stringbuilder.AppendFormat("<SetList Scope=`"Request`">{0}</SetList>", $list.ID) > $null
            $stringbuilder.AppendFormat("<SetVar Name=`"ID`">{0}</SetVar>", $item.Id) > $null
            $stringbuilder.Append("<SetVar Name=`"Cmd`">Delete</SetVar>") > $null
            $stringbuilder.Append("</Method>") > $null
            $i++
        $stringbuilder.Append("</ows:Batch>") > $null
        $web.ProcessBatchData($stringbuilder.ToString()) > $null
    catch
        Write-Host -ForegroundColor Red $_.Exception.ToString()
       $now = Get-Date
     write-host ("Deleting Items from list ended at " +$now.toString())
     write-host -ForegroundColor Green "done."
    **************************************End of Code***************************************************

    Hi Cowboy,
    Per my knowledge, if we delete the workflow history list items, it will not affect the workflows waiting to be triggered.
    However, if you go to the workflow status page, the history will be empty as the events 
    have been deleted in workflow history list.
    The code in your post will delete 2000 items in workflow history list.
    As there is no status for the items in workflow history list, so I recommend to use the date as the query condition.
    For example, if you want to delete items created between 2015-02-01 and 2015-02-16, then you can change the query as below in your code:
    $query="<Where><And><Geq><FieldRef Name='Created'/><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Geq><Leq><FieldRef Name='Created' /><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Leq></And> </Where>"
    $spQuery=$query
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • OK since midday today firefox 3.6.24 apparently no longer executes javascript on ebay. Can't use the "add to watch list" buttons or the enlarge photo buttons. It says 'javascript at the bottom of the firefox window but nothing happens.

    just as I wrote above.. ebay loads and functions. I can bid and view auctions but trying to either use the "add to watch list" or "add to wish list" buttons or to switch between different posted photos of an item just gives me javascript:; at the bottom left of my screen but clicking the button has no effect.I'm still running 10.4.11 with the last java download.. is this an ebay change to a newer java version not supported by my os or is it a firefox error..oh and one more thing each page seems to have become 4 times longer..ie there is a huge empty space as I scroll down the page before I hit the bottom.Only appears to do this on ebay..haven't found any other sites showing similar errors and everything works fine on my imac running firefox 4 under 10.5

    Craig Stenton: at 12:13:04
    but I can't install windows! During the install I am asked for the product key and it tells me that it is not valid and so I can't proceed.
    Craig Stenton: at 12:14:16
    I can't use the usual methods of activation because I cannot get an activation code. I can't use the activation wizard. I can't call the number because it requires an activation code.
    Hi,
    I'm a bit confused with this paragraph, as you said Vista already install on your computer, why did you say Windows can't be installed?
    According to your description with your problem, it is Product edition and key are not match. Firstly of all, we must make sure the system you installed on your computer was
    Windows Vista Business, not matter 32 or 64 bit.
    Note: you can check current system edtion at System Properties.
    After that, you can try to input your product key and activate your system for test.
    If problem still presists, it would be better to provide the activation error message.
    Roger Lu
    TechNet Community Support

  • HP LaserJet Pro M1536dnf Multifunction Printer (unable to add print driver hpfax1, error code 87)

    Hi, my printer HP LaserJet Pro M1536dnf Mfp, suddenly didnt work so i remove the printer, and downloaded a new driver  http://support.hp.com/us-en/drivers/selfservice/HP-LaserJet-Pro-M1536-Multifunction-Printer-series/3974271/model/3974278#Z7_3054ICK0KGTE30AQO5O3KA30R1 once dowloaded, i run it and uninstall the printer, restart my pc, and proceed to installing. but in the process of installing a error occurr, saying that "Unable to add printer, error code 87", and that " HP Toolbox FX has encountered an error and can not recover. once i click ok. it tells me to restart my pc and reinstall it again. i did it for 8x, and still with the same error. please help really need a help right now. as my boss is going to kill me

    Hey , Welcome to the HP Support Forums!
    I understand that you're getting the error 'Unable to add print driver hpfax1, error code 87' when installing your HP LaserJet Pro M1536dnf Multifunction Printer on your Windows 7 computer. I would like to assist you today with resolving this install issue. Thank you for including all of the troubleshooting steps that you have completed prior to reaching out for support. At this time I am going to walk you through some additional software and driver troubleshooting steps. Please follow all of the steps below.  If you're using your HP Laserjet through a USB Cable connection, please disconnect that cable now.  Step one: Remove Driver: 1. Click on your Start menu 2. Select Control Panel 3. Select Programs and Features 4. When Programs and Features opens a list of programs installed on your computer will populate. Click on the 'Installed ON' tab at the top to change the date so the recently installed items show at the top. This will make it easier to manually locate the three HP Laserjet items you need to uninstall.  5. Next, look for the HP LJ M1530 MFP Series HP Scan, HPLaserJetHelp_LearnCenter, and HP LaserJet Professional M1530 MFP Series. If you see any 3 of these, or all 3 of these items, please click on them and select Uninstall.   Once you have confirmed that those three items have been uninstalled, please close Programs and Features and proceed to the next step.   Step 2: Clear Temp Files:  Click on your Start menuIn the 'search programs and files' box located right above Start after you click on it, type %temp% and hit enter on your keyboardWhen the Temp folder opens, select Ctrl + A at the same time on your keyboard. Everything in this folder will now highlight.Select the 'delete' button on your keyboard. The Temp folder contains temporary internet files. No actual files or folders on your computer will be affected by deleting the Temp files. Should a Temp file still be used than you will automatically get the pop up to 'skip' that item.Close the Temp folder once it is emptiedRight click the Recycling Bin on your desktop and select Empty Recycling BinPlease proceed to the next step.    Step 3: Download Installer Package:  Please click here to download the Full Feature Installer package. Once the download is complete, click on the download to allow it to 'Run'An extraction should now automatically occur. Once the extraction is complete an installer window will open. Please close the installation window.  You do not want to run the installation at this time.   Step 4: Run Scrubber:  To ensure that no trace of the HP Software and Driver package remain on your computer, I am going to have you run a Scrubber built into the installer package for your printer.  Click on your Start menuIn the 'search programs and files' box located right above Start after you click on it, type %temp% and hit enter on your keyboardWhen the Temp folder opens locate the 7z folder. Click on this folder to open it. This is the HP Laserjet Installer Click on the Utilities folder under the 7z folderDouble left click on Scrubber. It is an application which should launch the HP Uninstaller. Please follow the onscreen prompts to complete the uninstaller.    Once the uninstall has completed please proceed to the next step. Be sure to Restart your computer if the uninstall process prompts you to.    Step 5: Check Print Server Properties:  Click on your Start menuClick on Devices and PrintersIn the Devices and Printers window look for your HP Laserjet. If you see it listed please right click on it and choose 'Delete' or 'Remove Device'. Next, click on any device listed under 'Printers and Faxes' once just to highlight itClick Print Server Properties at the top of the windowClick on the Drivers tabLook for your HP Laserjet driver. If you see it click on it and click Remove at the bottomClick Remove Driver OnlySelect OKSelect Apply and OK on the Print Server Properties windowClose Devices and Printers. Please proceed to the next step.  Step 6: Run Disk Cleanup Utility: Click on your Start menuSelect All ProgramsSelect AccessoriesSelect System ToolsSelect Disk Cleanup Run a Disk Cleanup on the C DriveWhen prompted, check Downloaded Program files, Temporary Internet Files, Recycle Bin, Temporary Files, and Thumbnails Once the Disk Cleanup is complete, please proceed to the next step.    Step 7: Run CCLeaner:  To ensure that there are no malicious files on your computer or Registry conflicts on your computer I am going to have you run a CCLeaner before we install your printer. Please click here to download the CCLeaner Tool. Once the website opens select the link at the top for 'Free Download'. Once the download is complete please complete the Scan. Should multiple malicious files be found you may need to run the Scan multiple times to remove all malicious files. Once your system comes back as clean, please proceed to the last step.    Step 8: Install Device:  Please click here to download the Full Feature Installer package for your HP LaserjetOnce the download is complete please allow the download to RunPlease follow the onscreen prompts to install your HP LaserjetIf using a USB Cable connection please do not plug in the USB Cable until the installer window prompts you to  Once the installation has completed successfully please test your machine to confirm that everything is functioning properly. Please respond to this post with the result of your troubleshooting. I look forward to hearing from you. Good luck!

  • Netflix, Safari, Silverlight crashing on "Add to Your List"

    I use Safari 6.0.3 on OS X 10.8.2 on a mid-2009 MBP.
    When adding movies + tvseries to Netflix's List (using the "Add to Your List"-button), I have experienced 3 kernel panics.
    Anyone have any suggestions as to what to do? Most of the time the reaction to clicking "Add to Your List" is really sluggish, might take 5 seconds to add it to my list - for those Silverlight animations to even run (the turning of the video-cover left&right, and minor animations). I've never had a kernel crash while watching Netflix, however. Just when adding to my list.
    Here's the log of the most recent one.
    Interval Since Last Panic Report:  586826 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    D9DA4611-E7B9-01CA-1A99-268EBC3B8024
    Mon Mar 11 11:48:17 2013
    panic(cpu 1 caller 0xffffff80048b83c9): "Double fault at 0xffffff7f84fe7be2, registers:\n" "CR0: 0x0000000080010033, CR2: 0xffffff80ecaafff8, CR3: 0x000000005bb71000, CR4: 0x0000000000000660\n" "RAX: 0xffffff7f85262198, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000000000000\n" "RSP: 0xffffff80ecab0000, RBP: 0xffffff80ecab0000, RSI: 0x0000000000000003, RDI: 0xffffff80d050b004\n" "R8:  0x000000000fb98000, R9:  0x0000000000000000, R10: 0xffffff80ecab03d0, R11: 0xffffff802f36b504\n" "R12: 0xffffff80192fd004, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0xffffff80d050e004\n" "RFL: 0x0000000000010246, RIP: 0xffffff7f84fe7be2, CS:  0x0000000000000008, SS:  0x0000000000000000\n" "Error code: 0x0000000000000000\n"@/SourceCache/xnu/xnu-2050.18.24/osfmk/i386/trap_native.c: 280
    Backtrace (CPU 1), Frame : Return Address
    0xffffff80e032dec0 : 0xffffff800481d626
    0xffffff80e032df30 : 0xffffff80048b83c9
    0xffffff80e032e0a0 : 0xffffff80048ceddf
    0xffffff80ecab0000 : 0xffffff7f84fba534
    0xffffff80ecab0020 : 0xffffff7f84fbea99
    0xffffff80ecab0060 : 0xffffff7f850fbcab
    0xffffff80ecab0080 : 0xffffff7f852dcd1d
    0xffffff80ecab00e0 : 0xffffff7f8535afca
    0xffffff80ecab0240 : 0xffffff7f85361ab3
    0xffffff80ecab0330 : 0xffffff7f84fcae86
    0xffffff80ecab03d0 : 0xffffff7f84fde614
    0xffffff80ecab0490 : 0xffffff7f85009590
    0xffffff80ecab0680 : 0xffffff7f85009a2e
    0xffffff80ecab0770 : 0xffffff7f860dcaea
    0xffffff80ecab07d0 : 0xffffff7f860d97b3
    0xffffff80ecab0810 : 0xffffff7f860d7655
    0xffffff80ecab0840 : 0xffffff7f86088f23
    0xffffff80ecab0860 : 0xffffff7f86088f99
    0xffffff80ecab0890 : 0xffffff7f860920df
    0xffffff80ecab08c0 : 0xffffff7f86089208
    0xffffff80ecab0920 : 0xffffff7f86088ff4
    0xffffff80ecab0960 : 0xffffff7f8608a598
    0xffffff80ecab09a0 : 0xffffff7f86088dc2
    0xffffff80ecab09d0 : 0xffffff7f860edaf1
    0xffffff80ecab0a10 : 0xffffff7f860898c5
    0xffffff80ecab0a40 : 0xffffff7f860b89c2
    0xffffff80ecab0a90 : 0xffffff7f860d7162
    0xffffff80ecab0aa0 : 0xffffff7f860d9a69
    0xffffff80ecab0ad0 : 0xffffff7f860dc825
    0xffffff80ecab0c00 : 0xffffff7f860dc4f5
    0xffffff80ecab0d40 : 0xffffff7f860dbefe
    0xffffff80ecab0d50 : 0xffffff7f860b3cfb
    0xffffff80ecab0d60 : 0xffffff7f86088fa8
    0xffffff80ecab0d90 : 0xffffff7f8609210d
    0xffffff80ecab0dc0 : 0xffffff7f86089208
    0xffffff80ecab0e20 : 0xffffff7f86088ff4
    0xffffff80ecab0e60 : 0xffffff7f8608a598
    0xffffff80ecab0ea0 : 0xffffff7f86088dc2
    0xffffff80ecab0ed0 : 0xffffff7f860edaf1
    0xffffff80ecab0f10 : 0xffffff7f860898c5
    0xffffff80ecab0f40 : 0xffffff7f860b89c2
    0xffffff80ecab0f90 : 0xffffff7f860d7162
    0xffffff80ecab0fa0 : 0xffffff7f860d9a69
    0xffffff80ecab0fd0 : 0xffffff7f860dc825
    0xffffff80ecab1100 : 0xffffff7f860dc4f5
    0xffffff80ecab1240 : 0xffffff7f860dbefe
    0xffffff80ecab1250 : 0xffffff7f860b3cfb
    0xffffff80ecab1260 : 0xffffff7f86088fa8
    0xffffff80ecab1290 : 0xffffff7f860920df
    0xffffff80ecab12c0 : 0xffffff7f86089208
    0xffffff80ecab1320 : 0xffffff7f86088ff4
    0xffffff80ecab1360 : 0xffffff7f8608a598
    0xffffff80ecab13a0 : 0xffffff7f86088dc2
    0xffffff80ecab13d0 : 0xffffff7f860edaf1
    0xffffff80ecab1410 : 0xffffff7f860898c5
    0xffffff80ecab1440 : 0xffffff7f860b89c2
    0xffffff80ecab1490 : 0xffffff7f860d7162
    0xffffff80ecab14a0 : 0xffffff7f860d9a69
    0xffffff80ecab14d0 : 0xffffff7f860dc825
    0xffffff80ecab1600 : 0xffffff7f860dc4f5
    0xffffff80ecab1740 : 0xffffff7f860dbefe
    0xffffff80ecab1750 : 0xffffff7f860b3cfb
    0xffffff80ecab1760 : 0xffffff7f86088fa8
    0xffffff80ecab1790 : 0xffffff7f8609210d
    0xffffff80ecab17c0 : 0xffffff7f86089208
    0xffffff80ecab1820 : 0xffffff7f86088ff4
    0xffffff80ecab1860 : 0xffffff7f8608a598
    0xffffff80ecab18a0 : 0xffffff7f86088dc2
    0xffffff80ecab18d0 : 0xffffff7f860edaf1
    0xffffff80ecab1910 : 0xffffff7f860898c5
    0xffffff80ecab1940 : 0xffffff7f860b89c2
    0xffffff80ecab1990 : 0xffffff7f860d7162
    0xffffff80ecab19a0 : 0xffffff7f860d9a69
    0xffffff80ecab19d0 : 0xffffff7f860dc825
    0xffffff80ecab1b00 : 0xffffff7f860dc4f5
    0xffffff80ecab1c40 : 0xffffff7f860dbefe
    0xffffff80ecab1c50 : 0xffffff7f860b3cfb
    0xffffff80ecab1c60 : 0xffffff7f86088fa8
    0xffffff80ecab1c90 : 0xffffff7f860920df
    0xffffff80ecab1cc0 : 0xffffff7f86089208
              Backtrace continues...
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(8.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f84f9c 000->0xffffff7f8529efff
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f84ef6000
                dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7f84f88000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f84f45000
             com.apple.nvidia.nv50hal(8.0)[9F3D09B5-3158-3D9E-BDA3-E71576AAD3B7]@0xffffff7f8 52ac000->0xffffff7f855cefff
                dependency: com.apple.NVDAResman(8.0.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f84f 9c000
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f84ef6000
             com.apple.GeForce(8.0)[2E56ED9A-D848-3795-9E52-56BABDC9000C]@0xffffff7f86083000 ->0xffffff7f86145fff
                dependency: com.apple.NVDAResman(8.0.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f84f 9c000
                dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7f84f88000
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f84ef6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f84f45000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x0000000004600000
    Kernel text base: 0xffffff8004800000
    System model name: MacBookPro5,3 (Mac-F22587C8)
    System uptime in nanoseconds: 410048598402702
    last loaded kext at 408176547333401: com.apple.filesystems.msdosfs          1.8 (addr 0xffffff7f86bbe000, size 65536)
    last unloaded kext at 408288493328685: com.apple.driver.AppleUSBCDC          4.1.22 (
    Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2.66 GHz, 8 GB, SMC 1.48f2
    Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
    Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3030352E4130324C4620
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3030352E4130324C4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.81.22)
    Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: Hitachi HTS545032B9SA02, 320.07 GB
    Serial ATA Device: MATSHITADVD-R   UJ-868
    USB Device: iPhone, apple_vendor_id, 0x1294, 0x24100000 / 3
    USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 2
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x26200000 / 3
    USB Device: USB-PS/2 Optical Mouse, 0x046d  (Logitech Inc.), 0xc051, 0x26230000 / 6
    USB Device: STORE N GO, 0x18a5, 0x0243, 0x26210000 / 5
    USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0x26220000 / 4
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x04600000 / 3
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06110000 / 3

    Triple-click anywhere in the line below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • How to add Document group  in t code S_ALR_87012082 for dynamic selection.

    Hi Gurus,
    I Need to add  Document group  in t code S_ALR_87012082  for dynamic selection.
    Currently here two groups are showing , Vender and Comp Code. i need to add Document group  there. Kindly guide me in this.
    Thanks in advance.

    Hi
    Pls follow below report
    *S_ALR_87012103 - List of Vendor Line Items *
    In dynamic selections you can find Document number, there you can give the range
    Reg
    Vishnu

  • Add a Price List based on last purchase price

    Hi!
    I'm working with SAP B1 2005 A SP01 PL39 and I'm trying to add a Price List via DIAPI using this code in VB.net.
    Dim oPriceList As SAPbobsCOM.PriceLists
    oPriceList = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPriceLists)
    oPriceList.PriceListName = "PriceList Z"
    oPriceList.BasePriceList = 0  '// last purchase price
    oPriceList.Factor = 1
    oPriceList.GroupNum = BoPriceListGroupNum.boplgn_Group1
    oPriceList.RoundingMethod = BoRoundingMethod.borm_NoRounding
    oPriceList.Add()
    The problem is when the Price List is added, the base price list changes and becomes "PriceList Z" instead of "last purchase price"!!
    After i try to update the base price list from "PriceList Z" to "last purchase price" manually at Inventory > Price Lists > Price Lists and it works!
    I even tested the code changing the base price list to "last evaluated price"...
    oPriceList.BasePriceList = -1  '// last evaluated price
    ... and it works too! The Price List is added based on the last evaluated price.
    I'm only having problems with last purchase price... why?

    Thanks for the quick response Petr but my problem isn't solved yet...
    As you can read in my first post, i've changed the code and based the new price list on the "Last Evaluated Price".
    This "Last Evaluated Price" isn't in the OPLN table and the new price list (with last evaluated price based on) is added successfully.
    The problem comes when i try to add a new price list based on the last purchase price.

  • How to add record in List Box in Screen Painter(SE51) ?

    I am not able to add record in List box in Screen Painter using se51 Transaction code.
    Regards,
    Nirav Desai

    Dear All,
        I found the solution.
    If you are facing same problem , follow the bellow steps.
    1. Declare in report.
    TYPE-POOLS: VRM.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    2. IN PBO Event.
    clear: list.
    NAME = 'TXT_PERIOD'.    " your screen field name
    VALUE-KEY = '1'.
    VALUE-TEXT = 'LINE 1'.
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'LINE 2'.
    APPEND VALUE TO LIST.
    VALUE-KEY = '3'.
    VALUE-TEXT = 'LINE 3'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING ID = NAME VALUES = LIST.
    Regards,
    Nirav Desai

  • How to add a custom PL/SQL code for a button event handler

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

  • Cleaned Workflow History List - Workflow Pausing State failed to resume

    Hi All,
    SPD workflow is pausing for some duration once it resume send mail and pause again as per some business condition, it repeat 9-10 times only.
    Pausing duration is 1 week
    Couple of months, It was working fine, then suddenly it starts showing the status "Failed to Start (retrying)" getting a result but not 100% accurate, some times its start  firing unwanted mails to target audience.
    Then I checked all the jobs which were running ,but workflow history list was showing more than 100K + records and exceeding threshold limit i.e. 5K, then i delete the record from the workflow history list and figure come down to 1K only. After that,
    as i created the item and start same workflow, its never resume , even i pause it for 10 minutes and checked after 2 days, still in pausing state.  I spend 3-4 days to explore it. but didn't get any success . Please suggest for the same.
    Thanks and Regards.. 
    Manoj Mittal

    Hi Cowboy,
    Per my knowledge, if we delete the workflow history list items, it will not affect the workflows waiting to be triggered.
    However, if you go to the workflow status page, the history will be empty as the events 
    have been deleted in workflow history list.
    The code in your post will delete 2000 items in workflow history list.
    As there is no status for the items in workflow history list, so I recommend to use the date as the query condition.
    For example, if you want to delete items created between 2015-02-01 and 2015-02-16, then you can change the query as below in your code:
    $query="<Where><And><Geq><FieldRef Name='Created'/><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Geq><Leq><FieldRef Name='Created' /><Value Type='DateTime'>2015-02-01T00:00:00Z</Value></Leq></And> </Where>"
    $spQuery=$query
    Thanks,
    Victoria
    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]
    Victoria Xia
    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 do i add a reminders list (to do list?) like there us d to be on the right hand side of iCal?

    How do i add a reminders list (to do list?) like there used to be on the right hand side of iCal?

    Sorry - I linked the article for iOS Reminders. You are posting in the Mountain Lion forum, but you have listed the OS X for Snow Leopard. What OS X are you running?
    Here is the support article for all devices and computers using Reminders:
    iCloud: Calendar Events, Reminders, To Dos, and Tasks behavior differs by application - Apple Support
    GB

  • How do I add to the list of servers in 'Date & Time' System Preferences?

    Earlier versions of the Mac OS (9 and below, I believe) allowed a user to add to the list of time servers in what was then the Date and Time Control Panel. Now, under OS X (Tiger), I am able to select from the three servers that Apple provides, but I would like to add my own. I am able to paste a new one into the field of the 'Date & Time' preference pane, but it will not be permanently added to the list. There must be a way to do this, no?
    Thanks!

    it will not be permanently added to the list.
    It should stay there as long as you don't change it.

Maybe you are looking for

  • Various hardware issues with Asus G73

    Hello everybody, First let me say that issue I'm experiencing is caused by hardware malfunction I need help diagnosing. Since it has nothing to do with Arch (or any other OS for that matter), I hope this is the right place to post. Now, let's get to

  • Stock transfer

    Dear Sir, Kindly clarify the following issues. 1. While doing stock transfer of a material Z  from plant X to plant y, the following error is displayed No shipping point could be determined for material Z in plant X 2. Can we change the material grou

  • Different commitment item between FI/CO and FM

    hi, We have defined a commitment item group 506 and two sub commitment items 70 and 90 which are Directly postable in Former Budget Structure Template. And these sub commitment items was defined in the G/L account master record. We park FI documents

  • ALV Interactive

    Hi, 1)In ALV, how many secondary lists we can have and how ? 2) In upgradation project (for example from 4.6c to Mysap ECC 6.0 version), what are the tools we use to find the object/objects to be upgrated? thnaks in advance Jana

  • IPhoto App not working

    It appears my Libray is still in tact....hopefully, but my I Photo App does not work within the OSX Mavericks..that I had just downloaded.   Eveything else seems to be okay....Where do I go and which App do I get to be able to see all my photos and p