How to get Workflow details from workflowinstance ID using PowerShell

Greetings
I would like to know if there is a quick PowerShell command that I can run that returns details (eg, name, title, etc) associated with a workflow instance ID presented in an error message.  I would like to be able to do this to assist with troubleshooting
2010 and 2013 workflow operation.  This would be beneficial in a situation where error messages are filling the Workflo Operations log, and these messages only present a workflowinstance ID and nothing else.  If I could could quickly use PowerShell
to get details associated with that workflowinstance, it would greatly simplify troubleshooting, as I could more rapidly identify what running instance and list the workflow is associated with.
Steve
General

Hi Stephan,
According to your description, my understanding is that you want to list the running workflow instances in SharePoint 2013 On-premise.
You can use PowerShell commands with SPWorkflowState enumeration to classify the workflow instances.
More information:
http://www.codeproject.com/Articles/679628/Easiest-Way-of-Cancelling-All-S
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.workflow.spworkflowstate(v=office.15).aspx
Best Regards,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • How to get a parameter from BPC and use it in ABAP program

    Hello gurus!
    I got a problem...
    SAP BPC will send parameters such as year, division, category, company code and so on via script logic to SAP BW.
    I need to get these parameters from BPC and use them in a ABAP program as a filter.
    This ABAP program will do several routines and return new values to BPC. It must be made on ABAP and I need to filter data to avoid performance issues.
    Does anybody knows how to do it? or have a example of it?
    Thank you in advance.
    Regards,
    Rubens Kumori

    Hello, I'm looking for a suggest.
    I need to pass two parameters (users can input them in a data manager package in bpc) to a BAdI.
    In this BAdI I write a code that store those parameters in a InfoObject.
    The problem is:
    - one parameter is for CATEGORY value. CATEGORY is a dimension of the application and I read the value with a code like this:
          READ TABLE it_cv INTO l_s_it_cv
               WITH TABLE KEY dim_upper_case = 'C_CATEGORY'.
    - other parameter is a generic DATE. this parameter is not a dimension of the application and I don't know how I can retrieve this value in BAdI.
          READ TABLE it_cv INTO l_s_it_cv
               WITH TABLE KEY dim_upper_case = '.....'.
    The data manager dynamic script is:
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%")
    PROMPT(TEXT,%SELECTED_DAY%,"Write the date (format YYYYMMDD)",)
    I also have a dynamic constant that assign the name %CATEGORY_DIM% to "C_CATEGORY" value.
    Can anyone help me?
    thanks a lot
    Edited by: Luca Novali on Feb 13, 2012 3:49 PM

  • How to get PO details from SAP to VB using BAPI control

    hi friends...
    My requirement is
    In VB(Visual basic)  i will enter PO number, for that PO number i want to fetch the data from SAP to VB.
    How to get this using BAPI Control in VB.
    From SAP point of view, i checked SWo1, there standard Object (PurchaseOrder)-Method GetDetail is there.
    but my doubt is how to pass the PO number to which parameter...
    i dono how to use that standard Object (PurchaseOrder) in VB...
    can you guide me plz..
    regards
    deva

    Hi,
    You need to get .NET connector and use this in your VB.
    h6.
    The SAP .NET Connector is a development environment that enables communication between the Microsoft. NET platform and SAP systems. This connector supports RFCs and Web services, and allows you to write different applications such as Web form, Windows form, or console applications in the Microsoft Visual Studio.Net. With the SAP .NET Connector, you can use all common programming languages, such as Visual Basic. NET, C#, or Managed C++.
    In short it will make your VB talk to SAP.
    http://www.service.sap.com/connectors
    Regards,
    Firoz.

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • How to fetch Schedule details from Subscription ID using ReportServer2010

    Hi All,
    I'm using Azure so ReportServer DB and the application DB  are in two different servers. So my requirement is to fetch the Schedule details from the ReportServer DB and store it in my application DB for further processing and i have only the SubscriptionID.
    So is there any way i can fetch the schedule details from subscription ID from ReportServer2010 web service.
    One alternative is that I'm connecting to the azure server and fetching the information but i want to know is there any built in web method to get this info.
    Thanks in advance and let me know if you need any more info. Waiting for your valuable answer.
    Regards,
    Ravi Neelam.

    After going thought different forums and got some knowledge on this issue and able to sort this issue. I'm posting this so other can easily use this method and can save lot of time.
    Solution: I'm using CreateSchedule method which will create a Schedule in ReportServer DB and will return the ScheduleId which i will insert as a matchData parameter to my CreateSubscription
    method. Hope the below code snippet will be use full.
    This is my CreateSubscription Method code snippet:
    public string CreateSubscription(string reportPath, string toAddress, string subject, string description, int matchDataSelection, Dictionary<string, string> itemParameters)
                int counter = -1;
                string subscriptionId = string.Empty;
                ExtensionSettings extensionSettings = GetExtensionSettings(toAddress, subject);
                ScheduleDefinition matchData = GetMatchData(matchDataSelection);
                ParameterValue[] parametersvalue = new ParameterValue[itemParameters.Count()];
                foreach (var item in itemParameters)
                    ParameterValue param = new ParameterValue();
                    counter++;
                    param.Name = item.Key;
                    param.Value = item.Value;
                    parametersvalue[counter] = param;
                ScheduleDefinition scheduleDefinition = new ScheduleDefinition();
                scheduleDefinition = GetMatchData(matchDataSelection);
                string scheduleId = service.CreateSchedule("SampleScheduleDefnition", scheduleDefinition, null);
                return subscriptionId = service.CreateSubscription(reportPath, extensionSettings, description, "TimedSubscription", scheduleId, parametersvalue);
    private ExtensionSettings GetExtensionSettings(string toAddress, string subject)
                ExtensionSettings extensionSettings = new ExtensionSettings();
                ParameterValue[] extensionParams = new ParameterValue[5];
                extensionParams[0] = new ParameterValue();
                extensionParams[0].Name = "TO";
                extensionParams[0].Value = toAddress;
                extensionParams[1] = new ParameterValue();
                extensionParams[1].Name = "IncludeReport";
                extensionParams[1].Value = "FALSE";
                extensionParams[2] = new ParameterValue();
                extensionParams[2].Name = "Subject";
                extensionParams[2].Value = subject;
                extensionParams[3] = new ParameterValue();
                extensionParams[3].Name = "RenderFormat";
                extensionParams[3].Value = "PDF";
                extensionParams[4] = new ParameterValue();
                extensionParams[4].Name = "Priority";
                extensionParams[4].Value = "NORMAL";
                extensionSettings.ParameterValues = extensionParams;
                extensionSettings.Extension = "Report Server Email";
                return extensionSettings;
    private ScheduleDefinition GetMatchData(int matchDataSelection)
                int selection = matchDataSelection;
                DateTime currentDate = DateTime.Now;
                TimeSpan timeStampforNewTime = new TimeSpan(08, 00, 00);
                currentDate = currentDate.Date + timeStampforNewTime;
                ScheduleDefinition schedule = new ScheduleDefinition();
                schedule.StartDateTime = currentDate;
                if (matchDataSelection == 1)
                    schedule.EndDate = DateTime.Now.AddDays(1);
                    schedule.EndDateSpecified = true;
                else
                    schedule.EndDateSpecified = false;
                ScheduleDefinition matchDataResponse = new ScheduleDefinition();
                switch (selection)
                    case (int)MatchDataSelection.Once:
                        schedule.Item = GetPatternforDaily();
                        break;
                    case (int)MatchDataSelection.Daily:
                        schedule.Item = GetPatternforDaily();
                        break;
                    case (int)MatchDataSelection.Weekly:
                        schedule.Item = GetPatternforWeekly();
                        break;
                    case (int)MatchDataSelection.BiWeekly:
                        schedule.Item = GetPatternforBiWeekly();
                        break;
                    case (int)MatchDataSelection.Monthly:
                        schedule.Item = GetPatternforMonthly();
                        break;
                //XmlDocument xmlDoc = GetScheduleAsXml(schedule);
                //matchDataResponse = xmlDoc.OuterXml;
                return matchDataResponse;
    private RecurrencePattern GetPatternforMonthly()
                MonthlyDOWRecurrence pattern = new MonthlyDOWRecurrence();
                pattern.WhichWeekSpecified = true;
                pattern.WhichWeek = WeekNumberEnum.FirstWeek;
                MonthsOfYearSelector months = new MonthsOfYearSelector();
                months.January = true;
                months.February = true;
                months.March = true;
                months.April = true;
                months.May = true;
                months.June = true;
                months.July = true;
                months.August = true;
                months.September = true;
                months.October = true;
                months.November = true;
                months.December = true;
                pattern.MonthsOfYear = months;
                DaysOfWeekSelector days = new DaysOfWeekSelector();
                days.Monday = true;
                pattern.DaysOfWeek = days;
                return pattern;
            private RecurrencePattern GetPatternforDaily()
                DailyRecurrence pattern = new DailyRecurrence();
                pattern.DaysInterval = 1;
                return pattern;
            private RecurrencePattern GetPatternforWeekly()
                WeeklyRecurrence pattern = new WeeklyRecurrence();
                DaysOfWeekSelector selector = new DaysOfWeekSelector();
                selector.Monday = true;
                pattern.DaysOfWeek = selector;
                return pattern;
            private RecurrencePattern GetPatternforBiWeekly()
                WeeklyRecurrence pattern = new WeeklyRecurrence();
                DaysOfWeekSelector selector = new DaysOfWeekSelector();
                selector.Monday = true;
                pattern.DaysOfWeek = selector;
                pattern.WeeksInterval = 1;
                pattern.WeeksIntervalSpecified = true;
                return pattern;
    Regards, Ravi Neelam.

  • How to get string value from database table using Visual Studio 2005?

    Hi,
    Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
    Im using the below code to get the values from database table
    bool Table::Get(char* FieldName,int& FieldValue)
        try
            _variant_t  vtValue;
            vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
            FieldValue=vtValue.intVal;
        CATCHERRGET
        sprintf(m_ErrStr,"Success");
        return 1;
    Im using the below code to get the values.
    AIErr getProjects()
        char buf[5000];
        int i;   
        std::string  catName;
        ::CoInitialize(NULL);
        Database db;
        Table tbl;
        errno_t err;
        err = fopen(&file,"c:\\DBResult.txt","w");
        fprintf(file, "Before Connection Established\n");
        //MessageBox(NULL,CnnStr,"Connection String",0);
        if(!db.Open(g->username,g->password,CnnStr))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        fprintf(file, "After Connection Established\n");
    if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        int ProjectID;
        int UserID;
        int ProjectTitle;
        char ProjectName[ProjectNameSize];
        if(!tbl.ISEOF())
            tbl.MoveFirst();
        ProjectArrCnt=0;
        for(i=0;i<128;i++)
            buf[i]='\0';
            int j=0;
        while(!tbl.ISEOF())
            if(tbl.Get("ProjectID",ProjectID))
                fprintf(file,"Project ID: %d ",ProjectID);
                ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
                sprintf(buf,"%d",ProjectID);
                //MessageBox(NULL, buf,"f ID", 0);
                j++;
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            //if(tbl.Get("ProjectTitle",ProjectName))
            if(tbl.Get("ProjectName",ProjectName))
                MessageBox(NULL,"Inside","",0);
                fprintf(file,"ProjectTitle: %s\n",ProjectName);
                //catName=CategoryName;
                ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
                //sprintf(buf,"%s",ProjectName);
                MessageBox(NULL,(LPCSTR)ProjectName,"",0);
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            ProjectArrCnt++;
            //MessageBox(NULL, "While", "WIN API Test",0);
            tbl.MoveNext();
        //MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
        ::CoUninitialize();
        //sprintf(buf,"%s",file);
        //MessageBox(NULL,buf,"File",0);
        fprintf(file, "Connection closed\n");
        fclose(file);
        for(i=0;i<ProjectArrCnt;i++)
            sprintf(buf,"%i",ProjectInfo[i].ProjectID);
            //MessageBox(NULL,buf,"Proj ID",0);
            //MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
        return 0;
    In the above code im geeting project D which is an integer value. But not able to get the project name.
    Please some one guide me.

    As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.

  • How to remove HTML encoding from csv file using powershell

    Hi guys i am exporting data from a sharepoint list using powershell which works fine. My problem is that some of the fields contain HTML mark up. Is there a way to remove all of the html mark up from the array before writing it to csv ?
    I have tried playing about with System.Web.HttpUtility.HtmlDecode but with no luck the code runs but no html is removed.
    Below is a sample of my script.
    Set-Variable HOME $env:USERPROFILE -Force
    (Get-PSProvider FileSystem).Home = $HOME
    if(-not(Get-PSSnapin | where { $_.Name -eq "Microsoft.SharePoint.PowerShell"}))
    Add-PSSnapin Microsoft.SharePoint.PowerShell;
    # imports assembly needed for url stuff to do
    Add-Type -AssemblyName System.Web
    $SPWeb = Get-SPWeb "http://site url"
    $SPList = $SPWeb.Lists["List Name"]
    $exportlist = @()
    $SPList.Items | foreach {
    $obj = New-Object PSObject -Property @{
    "Employee full name" = $_["EMPLOYEEFNAME"]
    "Employee login name" = $_["EMPLOYEENAME"]
    "Department Name" = $_["DEPARTMENT"]
    System.Web.HttpUtility.HtmlDecode("OBJECTIVESTOBEACHIEVED_0") = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_0"]
    "OBJECTIVESTOBEACHIEVED_1" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_1"]
    "OBJECTIVESTOBEACHIEVED_2" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_2"]
    "OBJECTIVESTOBEACHIEVED_3" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_3"]
    "OBJECTIVESTOBEACHIEVED_4" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_4"]
    "OBJECTIVESTOBEACHIEVED_5" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_5"]
    "OBJECTIVESTOBEACHIEVED_6" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_6"]
    "OBJECTIVESTOBEACHIEVED_7" = $_["F1_S4a_OBJECTIVESTOBEACHIEVED_7"]
    $exportlist += $obj
    $exportlist | select "Employee full name", "Employee login name", "Department Name", "OBJECTIVESTOBEACHIEVED_0", "OBJECTIVESTOBEACHIEVED_1", "OBJECTIVESTOBEACHIEVED_2", "OBJECTIVESTOBEACHIEVED_3", "OBJECTIVESTOBEACHIEVED_4", "OBJECTIVESTOBEACHIEVED_5", "OBJECTIVESTOBEACHIEVED_6", "OBJECTIVESTOBEACHIEVED_7" | Export-Csv ~/Export.csv -noType
    $SPWeb.Dispose()
    any help would be much appreciated.

    Should have googled before posting !
    "OBJECTIVESTOBEACHIEVED_0" = [Microsoft.SharePoint.Utilities.SPHttpUtility]::ConvertSimpleHtmlToText($_["F1_S4a_OBJECTIVESTOBEACHIEVED_0"],-1) -replace '\s+', ' '
    Clears all the additional white space. As always jrv you
    have saved the day, many thanks for all the help.
    Mal

  • Get workflow tasks from WorkflowInstance?

    Hi!
    How do I get the workflow tasks associated with a specific workflow instance? Or can I get the workflow tasks directly from the list item itself?
    WorkflowServicesManager workflowServiceManager = new WorkflowServicesManager(web);
    WorkflowInstanceService workflowInstanceService = workflowServiceManager.GetWorkflowInstanceService();
    WorkflowInstanceCollection workflowInstances = workflowInstanceService.EnumerateInstancesForListItem(item.ParentList.ID, item.ID);
    // TODO: Get tasks...
    Thanks,
    Kiram

    Hi,
    Late reply, but I ended up using the following SPQuery to retrieve the task items associated with the specific SharePoint 2013 workflow instance:
    SPQueryspTaskQuery =
    newSPQuery{
    Query = "<Where><Eq><FieldRef Name='WF4InstanceId' /><Value Type='Text'>"+
    workflowInstance + "</Value></Eq></Where>"};
    Regards,
    Kiram

  • How to get the value from a function using a select statement

    I have a function(user defined not built in) that returns multiple values(like an array). My question is how do i get those values in a select statement. when i tried to retrieve it,
    select pack.my_members from dual;
    i am getting an error
    ORA-00902: invalid datatype
    I am sure this must be a syntax error with the select statement
    The following is the function that give the array of data
    package pack
    package spec
    Type my_table is table of varchar2(25);
    function the_members
    return pack.my_table;
    pakcage body
    function the_members return pack.my_table
    Remarks: This function returns a table containing names of the
    members
    is
    tm pack.my_table:= pack.my_table('first member','second member','third member','fourth member');
    begin
    return tm;
    end the_members;

    Check this example on Pipelinedfunction

  • How to get numeric data from a string using t-sql

    Hi All,
    I have a table with 2 columns ID as Int and Message as nvarchar(max)
    Create table Sample
    ID int not null,
    Message nvarchar(max) null,
    CONSTRAINT [PK_ID_Msg] PRIMARY KEY CLUSTERED
    ID asc
    Insert statement:
    INSERT INTO
    Sample (ID, Message)
    VALUES (1, 'X_YRS: 00 ; X_MONS: 18 ; X_DAYS: 000 ; Y_YRS: 00 ; Y_MONS: 16 ; Y_DAYS: 011 ; Z: 1 ; Z_DATE: 09/04/2014
    INSERT INTO Sample (ID, Message) VALUES (2, 'X_YRS: 01 ; X_MONS: 15 ; X_DAYS: 010 ; Y_YRS: 00 ; Y_MONS: 18 ; Y_DAYS: 017
     ; Z: 1
     ; Z_DATE: 06/02/2012')
    Data in the table looks like:
    ID             Message
    1       X_YRS: 00 ; X_MONS: 18 ; X_DAYS: 000 ; Y_YRS: 00 ; Y_MONS: 16 ; Y_DAYS: 011 ; Z: 1 ; Z_DATE: 09/04/2014
    2       X_YRS: 01 ; X_MONS: 15 ; X_DAYS: 010 ; Y_YRS: 00 ; Y_MONS: 18 ; Y_DAYS: 017 ; Z: 1 ; Z_DATE: 06/02/2012
    Need out put as below, just with numeric data:
    ID      X-Column         Y-Column         
    1       00 18 000        00 16 011
    2       01 15 010        00 18 017
    So, please I need t-SQL to get above output.
    Thanks in advance.
    RH
    sql

    ;With CTE
    AS
    SELECT s.ID,RTRIM(LTRIM(STUFF(Val,1,CHARINDEX(':',Val),''))) AS Val,RTRIM(LTRIM(LEFT(Val,CHARINDEX('_',Val+'_')-1))) AS Pattern,
    --ROW_NUMBER() OVER (PARTITION BY LEFT(Val,CHARINDEX('_',Val+'_')-1) ORDER BY RTRIM(LTRIM(STUFF(Val,1,CHARINDEX(':',Val),'')))*1)
    f.ID AS Seq
    FROM Sample s
    CROSS APPLY dbo.ParseValues(s.[Message],';')f
    WHERE ISNUMERIC(RTRIM(LTRIM(STUFF(Val,1,CHARINDEX(':',Val),'')))+'0.0E0')=1
    SELECT ID,
    STUFF((SELECT ' ' + Val FROM CTE WHERE ID = c.ID AND Pattern = 'X' ORDER BY Seq FOR XML PATH('')),1,1,'') AS XCol,
    STUFF((SELECT ' ' + Val FROM CTE WHERE ID = c.ID AND Pattern = 'Y' ORDER BY Seq FOR XML PATH('')),1,1,'') AS YCol,
    STUFF((SELECT ' ' + Val FROM CTE WHERE ID = c.ID AND Pattern = 'Z' ORDER BY Seq FOR XML PATH('')),1,1,'') AS ZCol
    FROM (SELECT DISTINCT ID FROM CTE)c
    ParseValues can be found here
    http://visakhm.blogspot.in/2010/02/parsing-delimited-string.html
    Numeric check logic is as per below
    http://visakhm.blogspot.in/2014/03/checking-for-integer-or-decimal-values.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to get multiple values from the db using select

    hi all,
    i am using oracle 9i database
    i created a procedure
    create or replace procedure sample_proce
    as
    to_i varchar2(50)
    begin
    select to_id into to_i from sample where flag in('y');
    dbms_output.put_line('hai'|| to_i);
    end;
    when i executed this procedure the following error occurred.
    error at line 5 fetching too many rows.
    but when i execute the select query alone i can able to view all the rows.
    how to resolve it

    i used the following procedure
    create or replace procedure sample_proc
    as
    begin
    for s in(select to_id from sample where flag='y')
    loop
    dbms_output.put_line(s.to_id);
    end loop.
    end;
    it is executed fine. i can able to fetch all the rows.
    how to pass all these values into the another procedure.
    we usually pass only one value into another procedure, i do no how to pass all the values . please help me.
    Thank u.

  • How to get all values from an interval using select statement

    Hi,
    Is it possible to write a select statement that returns all values from an interval? Interval boundaries are variable.
    something like this:
    select (for x in 1,1024 loop x end loop) from dual
    (this, of course, doesn't work)
    The result in this example should be 1024 rows of numbers from 1 to 1024. These numbers are parameters, so it is not possible to create a table with predefined values.
    Thanks in advance for your help,
    Mia.

    For your simple case, with a lower boundary of 1, you can use:
    SELECT rownum
    FROM all_objects
    WHERE rownum <= 1024For a set of number between say 50 - 100, you can use something like:
    SELECT rownum + (50 - 1)
    FROM all_objects
    WHERE rownum <= (100 - 50 + 1)Note, that all_objects was used only because it generally has a lot of rows. Any table with at least the number of rows in your range will work.
    TTFN
    John

  • How to get more detailed error messages when using Oracle JDBC

    Here are some typical Oracle error messages that leave you guessing :
    "ORA-01722: invalid number"
    "ORA-00904: invalid column name"
    Is there any way to find out which number or which column name is invalid ?
    Why doesn't Oracle include this information in the error messages ? If it knows the number or column is invalid, it must know the number or column name !

    Launch the query under sqlplus, it'll tell u :
    SQL> select user_id, userna from dba_users ;
    select user_id, userna from dba_users
    ERROR at line 1:
    ORA-00904: invalid column name

  • How to get the Definition from a source using WSIF

    Hi All,
    Definition def = WSIFUtils.getDefinitionFromLocation("http://bingweb.binghamton.edu/~npandya1/nirav/"
    , "GlobalWeather.wsdl");
    but its giving me an error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at org.apache.wsif.logging.Trc.<clinit>(Unknown Source)
    at org.apache.wsif.util.WSIFUtils.getDefinitionFromLocation(Unknown Source)
    at Grid.WSIF.invoke(WSIF.java:98)
    Could anyone please tell me what are the actual parameters of the function
    getDefinitionFromLocation()
    what should be the contextURL be and location
    Thanks
    Nirav

    Check this example on Pipelinedfunction

  • How to get selected value from selectOneRadio ???

    Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
    Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
    Plzzzzzzzz i need help

    You have a datatable in which each row is a question, correct?
    Also in each row you have 5 possible answers that are in a radio, correct?
    So,
    You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
    So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
    ex:
    <h:selectOneRadio value="#{notas.selectedString}" id="rb">
    <f:selectItem itemValue="#{notas.valuesList}"/>
    </h:selectOneRadio>
    Search the web for examples like yours.

Maybe you are looking for

  • Custom FM for getting subordinates in ESS Team Calendar

    Dear All, In the team calendar in ESS ,I want to use my custom Function module which gets the subordinates for the manger. Please tell how to proceed in this direction. Regards, Geet Bijlani

  • Sound problems after updating to ios7?

    Even though the sound IS turned on, all games are without sound after the update - how do I get the sound back? Is it possible to reverse the update? because I don't like it one bit!

  • NB255 support TV out?

    I wanted to know if my nb 255 supported tv out. I was going to use a vga to hdtv connection. So it would have to support component (YPbPr) ??? 

  • Guy in the shop

    told me..that its perfectly normal for all songs to be deleted if ipod battery dies...how true is this?

  • Shipment/Delivery Numbers

    Hi, As far as I can see there is no way to establish a direct relationship between a B1 delivery and the Webtools Shipment, other than joining a webtools shipment to a webtools order, and then a B1 order to a B1 Delivery. What I'm finding is that whe