Retrieve Historical Instances

I am using the .NET Enterprise SDK.  When I use the code below - I am able to retrieve only Crystal Reports Historical instances.  If I try to retrieve Word or Excel or PDF, I get the following error message on the 325th line (If ReportInterface.ReportParameters.Count > 0 Then):
Public member 'ReportParameters' on type 'InfoObject' not found.
Any thoughts as to how to fix this to get the parameters on all datatypes?  In addition, how can I add a hyperlink to the datatable to open the instance (my page to pull instances is called viewer.aspx)?
Thanks,
Jeff
    Public Shared Function RetrieveReportInstances(ByVal myInfoStore As InfoStore, ByVal parentID As String) As Data.DataTable
        Dim dt As New Data.DataTable()
        'Declare an array to hold the various statuses that an instance can have.
        Dim status(14) As String
        status(0) = "Active"
        status(1) = "Complete"
        status(3) = "Failed"
        status(4) = "Loaded"
        status(5) = "Loading"
        status(6) = "Not Responding"
        status(7) = "On Hold"
        status(8) = "Paused"
        status(9) = "Scheduled"
        status(10) = "Error"
        status(11) = "Queued"
        status(12) = "Recurring"
        status(13) = "Terminated"
        status(14) = "Terminating"
        'Query for a report.
        'Dim result As String = "Select * From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Report' And SI_PARENTID=" & parentID
        Dim result As String = "Select * From CI_INFOOBJECTS Where SI_PARENTID=" & parentID
        Dim myInfoObjects As InfoObjects = myInfoStore.Query(result)
        'Retrieve the first report returned.
        Dim myInfoObject As InfoObject
        If myInfoObjects.Count > 0 Then
            myInfoObject = myInfoObjects.Item(1)
            'Retrieve the report interface.
            Dim ReportInterface = myInfoObject.PluginInterface.Interface
            dt.Columns.Add(New Data.DataColumn("View"))
            dt.Columns.Add(New Data.DataColumn("Owner"))
            dt.Columns.Add(New Data.DataColumn("Run Date"))
            dt.Columns.Add(New Data.DataColumn("Status"))
            dt.Columns.Add(New Data.DataColumn("Duration"))
            If ReportInterface.ReportParameters.Count > 0 Then
                'Retrieve the database logon information for each database that
                'the report must logon to.
                Dim j As Integer
                Dim ParamName As String
                For j = 1 To ReportInterface.ReportParameters.Count
                    ParamName = ReportInterface.ReportParameters.Item(j).ParameterName
                    dt.Columns.Add(New Data.DataColumn(ParamName))
                Next
            Else
            End If
            ' Add some data to the DataTable.
            Dim myDataRow As Data.DataRow
            If myInfoObjects.Count > 0 Then
                Dim Duration = 0
                Dim i As Integer = 1
                For Each myInfoObject In myInfoObjects
                    If myInfoObjects.Item(i).Properties("SI_UISTATUS").Value = 1 Then
                        Duration = FormatTimeSpan((myInfoObjects.Item(i).Properties("SI_ENDTIME").Value - myInfoObjects.Item(i).Properties("SI_NEXTRUNTIME").Value))
                        'Duration = ""
                    Else
                        Duration = ""
                    End If
                    myDataRow = dt.NewRow()
                    myDataRow(0) = myInfoObjects.Item(i).Properties("SI_KIND").Value
                    myDataRow(1) = myInfoObjects.Item(i).Properties("SI_OWNER").Value
                    myDataRow(2) = myInfoObjects.Item(i).Properties("SI_UPDATE_TS").Value
                    myDataRow(3) = status(myInfoObjects.Item(i).Properties("SI_UISTATUS").Value)
                    myDataRow(4) = Duration
                    Dim k As Integer
                    Dim L As Integer
                    For k = 1 To ReportInterface.ReportParameters.Count
                        L = 4 + k
                        myDataRow(L) = ReportInterface.ReportParameters.Item(k).ValueDisplayString
                    Next
                    dt.Rows.Add(myDataRow)
                    i = i + 1
                Next
                i = 1
            End If
        Else
            dt.Columns.Add(New Data.DataColumn("Report"))
            Dim myDataRow As Data.DataRow
            myDataRow = dt.NewRow()
            myDataRow(0) = "There are currently no instances of this report."
            dt.Rows.Add(myDataRow)
        End If
        Return dt
    End Function
    Public Shared Function FormatTimeSpan(ByVal time_span As _
        TimeSpan, Optional ByVal whole_seconds As Boolean = _
        True) As String
        Dim txt As String = ""
        If time_span.Days > 0 Then
            txt &= ", " & time_span.Days.ToString() & " days"
            time_span = time_span.Subtract(New _
                TimeSpan(time_span.Days, 0, 0, 0))
        End If
        If time_span.Hours > 0 Then
            txt &= ", " & time_span.Hours.ToString() & " hours"
            time_span = time_span.Subtract(New TimeSpan(0, _
                time_span.Hours, 0, 0))
        End If
        If time_span.Minutes > 0 Then
            txt &= ", " & time_span.Minutes.ToString() & " " & _
                "minutes"
            time_span = time_span.Subtract(New TimeSpan(0, 0, _
                time_span.Minutes, 0))
        End If
        If whole_seconds Then
            ' Display only whole seconds.
            If time_span.Seconds > 0 Then
                txt &= ", " & time_span.Seconds.ToString() & " " & _
                    "seconds"
            End If
        Else
            ' Display fractional seconds.
            txt &= ", " & time_span.TotalSeconds.ToString() & " " & _
                "seconds"
        End If
        ' Remove the leading ", ".
        If txt.Length > 0 Then txt = txt.Substring(2)
        ' Return the result.
        Return txt
    End Function

Two things:
1. Scheduled report instances to a different format has a PROGID specific to that format - for example, scheduling to PDF will result in ta instance of PROGID 'CrystalEnterprise.Pdf'.  You'll have to modify your InfoStore query accordingly.
2. The returned InfoObject will be format specific, and not of type Report.  You'll have to recast the Plugin Interface:
report = New Report(infoObjects.Item(1).GetPluginInterface("Report"))
If Version 10 or older, you may try:
report = New Report(infoObject.Item(1).PluginInterface)
Sincerely,
Ted Ueda

Similar Messages

  • Error "Could not retrieve process instance" w UWL-GP thru Load Balancer

    Hi,
    We're using NW'04s EP SP14 for developing our portal website. An external load balancer balances the load between two portal instances CI & DI.
    We are getting an Exception "Could not retrieve process instance: contact your system administrator" when we try to access the UWL Requests through the Load Balancer though it is working fine with the direct HostName in the URL.
    SAP Note 1026119 did not solve the issue.
    Has anyone faced such an issue before?
    Thanks.

    Hi
    I am getting the same error, but when i tried to retrieve the process instance from nwa I see the process instance to be missing. I could not trace the process instance.
    Can you please tell me where else can i look for the process instance.
    Its very urgent
    Thanks and Regards
    Anitha

  • Retrieve historic sqls

    I have been running few queries in the system over the past 10 days and I forgot to save some of those sqls which I ran.
    So instead of rewriting all those sqls again - I am hoping to see if sqls run by a user via TOAD is stored anywhere in Oracle.
    If so - it might be easy for me to retrieve my sql (hence save lots of time).
    The F8 key used in toad to retrieve historic sqls - is not working for me for some reason.
    I tried to use the below sql to retrieve all my sql information - but to no avail
    select a.logon_time, dbms_lob.substr(b.sql_fulltext, 4000,1)
    from gv$session a,gv$sqlarea b
    where 1=1
    and a.sql_id=b.sql_id
    and a.username='H72728'-- my schema name used to login in toad
    and a.logon_time between sysdate - 10 and sysdate
    order by a.logon_time desc
    I am not sure if oracle stores any of this information - but if anyone has an idea of retrieving this information - appreciate if you can share the knowledge.
    Thanks

    Hi,
    connect to sys user then type this script
    select sql_text from v$sql
    where first_load_time=(select max(first_load_time) from v$sql)Otherwise in your toad press alt+up Arrow or alt+down arrow to see recently executed queries .
    Please let us know which oracle version you are using so that we can guide you accordingly .
    Thanks,
    P Prakash

  • Index to retrieve all instances which have a certain node

    Hello!
    I work with the oracle 10g xml db and I have got the table of the xmltype
    <xsd:complexType name="headerType" xdb:SQLType="HEADER_T">
    <xsd:sequence>
    <xsd:element name="time" type="xsd:dateTime"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="contentType" xdb:SQLType="CONTENT_T">
    <xsd:choice>
    <xsd:element name="assignment" type="assignment:AppsXx_Assignment_V"
    xdb:SQLName="ASSIGNMENT" minOccurs="1"/>
    <xsd:element name="organization"
    type="organization:AppsXx_Organization_V"
    xdb:SQLName="ORGANIZATION"/>
    <xsd:element name="qualifications"
    type="qualifications:AppsXx_Qualifications_V"
    xdb:SQLName="QUALIFICATIONS"/>
    </xsd:choice>
    </xsd:complexType>
    <xsd:element name="root" type="oebs:rootType" xdb:defaultTable="OEBS"/>
    And I need to retrieve all instances which have "assignment'" node
    SELECT * FROM oebs
    where existsNode(OBJECT_VALUE,'/oebs:root/content/assignment', 'xmlns:oebs="http://www.r.ru/oebs')> 0;
    Which index could help me?
    Thanks

    Use below to export to CSV, then filter the file in excel and remove all except animal
    dd-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null
    $url = "<site url>"
    $listName = "<list name>"
    $path ="c:\Columns.csv"
    $web = Get-SPWeb $url
    $list = $web.Lists.TryGetList($listName)
    $list.ContentTypes | % { $_.FieldLinks } | select Name | Export-Csv -path $path
    Can also try
    http://social.technet.microsoft.com/wiki/contents/articles/18830.sharepoint-2010-import-data-from-excel-into-a-list-using-powershell.aspx

  • PBL to retrieve all instances assigned to a participant

    Hi there,
    I have a requirement to print a series of work items as a single PDF. I think i may have a solution but struggling with the PBL - any help much appreciated. My solution is this..
    * Participant will take a number of work items using bulk actions -> assign to me
    * Use a Global Interactive to call a screen flow
    * Screen flow activity includes PBL to retrieve all work items assigned to the current user
    * Take all the required data from the work items and pass to a PDF generation service as one print item.
    Could anyone please help with how I would retrieve all instances assigned to the current user in PBL? I am using Oracle BPM 10.3.
    thanks
    Neil
    Edited by: user13297570 on Jul 2, 2010 9:32 AM

    Neil - try something like this to get a list of instances assigned to the current participant:
    busProcesses as BusinessProcess
    instanceFilter as InstanceFilter
    instance as Fuego.Papi.Instance
    processName as String = "/" + "<your process Id here>"
    connectTo(busProcesses, url : Fuego.Server.directoryURL,
       user : "<a Participant's name that is used for API access here>",
       password : "<the password here>", process : processName)
    create instanceFilter
        using processService = busProcesses.processService
    instanceFilter.searchScope = SearchScope(participantScope : ParticipantScope.ALL,
    statusScope : StatusScope.ONLY_INPROCESS)
    addAttributeTo instanceFilter
        using variable = VarDefinition.PARTICIPANT_ID,
              comparator = Comparison.IS,
              value = Participant.id
    // list the instances
    for each inst in getInstancesByFilter(busProcesses, filter : instanceFilter) do
    endDan

  • How to retrieve Notification Instance of a GP Action

    Hello All,
    Does anyone has idea how to retrieve Notification Instance of an action.GP API provides method as
    Enumeration notifications = processInstance.getNotificationInstanceEnumeration();
    which gives alll notifications instances for that process at process level only not deeper.I need notification instance for an action.
    Vikrant

    I have the same problem. I have a program that start a gp process at runtime and I need to modify a notification Instance of an action, but when I try to find the action using processInstance.getChildrenInformation (), it returns an array with 0 elements.
    have you solve your problem?
    Thanks very much
    Ignacio

  • PAPI-Add/Delete/Retrieve BPM Instance's data and attachment for an instance

    Could you please me tell me how to Add/Delete/Retrieve BPM instance's data and attachment for a new as well as running instance using PAPI. Is it possible to have
    a sample code.
    Thanks,
    Ben.

    Hi Ben,
    Start with this thread that shows you how to create a new work item instance in a process and pass in input argument variables to the new instance as it is created:
    Creating a new work item instance in a process using PAPI
    Here's a thread that shows how to retrieve variables from an instance:
    Re: Instance info using PAPI in studio
    Here's a thread that shows
    1. how to run an activity in the process and pass in arguments using the "runActivity()" method,
    2. How to run a Global activity and pass in arguments (runGlobal() and
    3. How to send in a notificationto a notificationWait activity using the "sendNotificationInstance()" method:
    Re: Acces Oracle BPM Process through Standalone Java Program
    Finally, you can use the session.instanceAttach() method to attach a file to an instance.
    Hope this helps,
    Dan

  • PDF Form to retrieve historic exchange rates?

    I've been wondering how practical it would be to create a PDF form similar to the webpage www.xe.com/tec/. We would like to create a form with the ability to retrieve the exchange rates for each dated line like the form. Is this possible?

    In principle, it can be done with some scripting, but the amount of data
    you'll have to embed in the file might be astronomical, depending on what
    the scope and accuracy of the historic rates are...

  • Adding password policies to historical instance.

    Hi,
    Newbie here - just inherited management of our LDAP systems so please be patient.
    We've got a directory instance that has been multiply upgraded. Originally it was based on OpenLDAP  then SUN DS5, through DS6 and now DS7.
    We have a requirement to add password policies to a subgroup within the repository which I believe I have done but it doesn't seem to work.
    So far, taken server from DS5 compat mode to DS6-mode, created password policy via admin interface and applied it to relevant group. Features of the policy are password lifetime, 3 incorrect login attempts, password dictionary etc etc.
    Problem: test user tries to log in. After 3 failures there is no lockout. User can fail login any number of times then a correct attempt will work.
    The custom policy is set to override the global policy for the affected group.
    The question is why is the policy not being followed?
    I'm concerned there may be some historical feature of the schema which is preventing the policy from functioning. If this is the case ( and how would I find out if this is so) what might be done about it?
    Regards

    Hello,
    sunPwdPolicy objectclass contains Sun specific extension and derive from  the standard password policy objectclass defined in passwordPolicy,
    so in general, password policy entries contain both objectclasses as long as you start using Sun extensions
    ( 1.3.6.1.4.1.42.2.27.9.2.119
    NAME 'sunPwdPolicy'
    DESC 'Sun Directory Server Password Policy objectclass'
    SUP pwdPolicy
    AUXILIARY
    MUST ( cn )
    MAY ( description $
      passwordRootdnMayBypassModsChecks $
      passwordStorageScheme $
      passwordExpireWithoutWarning $
      pwdIsLockoutPrioritized $
      pwdKeepLastAuthTime )
    X-DS-USE 'internal'
    X-ORIGIN 'Sun Directory Server' )
    ( 1.3.6.1.4.1.42.2.27.8.2.1
    NAME 'pwdPolicy'
    DESC 'Password Policy objectclass'
    SUP top
    AUXILIARY
    MUST ( pwdAttribute )
    MAY ( pwdMinAge $
      pwdMaxAge $
      pwdInHistory $
      pwdCheckQuality $
      pwdMinLength $
      pwdExpireWarning $
      pwdGraceAuthNLimit $
      pwdLockout $
      pwdLockoutDuration $
      pwdMaxFailure $
      pwdFailureCountInterval $
      pwdMustChange $
      pwdAllowUserChange $
      pwdSafeModify)
    X-DS-USE 'internal'
    X-ORIGIN 'Password Policy for LDAP Directories Internet Draft' )
    -Sylvain

  • Retrieved the instance(s) of scheduled reports

    Hello
    I am writing a Java command-line program in order to schedule reports (in "right now" mode) in BO XI R2 running on a Windows Server 2003 server.
    This program will be launched from an third part scheduler which needs to know the final status of the scheduled report.
    My idea is to code an active loop (with sleep) that checks uppon instance status until it is COMPLETED or FAILED.
    First, is there another, more elegant way to do it? (maybe using some kind of listener mecanism or something)
    Otherwise, how can I retrieve a reference of the instance scheduled using the Schedulable.schedule() method?
    I was thinking about using the Schedulable.getLatestInstance() method but there is no garantee that this is REALLY the one that this program has just scheduled, is there?
    Thanks
    Guillaume

    Very usefull answer, thanks.
    I experienced a difference between scheduling a report from the InfoView and from the SDK:
    When a report is scheduled from InfoView, it goes to the 'RUNNING' status right away but when scheduled from the Java SDK, it stays in the 'PENDING' status for a minute or so before going to the 'RUNNING' status.
    Any idea why?
    Here is a snippet of code I am using (just in case):
                   ISchedulable reportSchedulable = (ISchedulable) infoObject;
                   IInfoObject reportObj = infoObject;
                   ISchedulingInfo reportScheduleInfo = reportSchedulable.getSchedulingInfo();
                   reportScheduleInfo.setType(CeScheduleType.ONCE);
                   reportScheduleInfo.setRightNow(true);
                   infoObjects = infoStore.query("select top 1 * from CI_SYSTEMOBJECTS where SI_NAME = 'CrystalEnterprise.Managed'");
                   IManaged managed = (IManaged) infoObjects.get(0);
                   IManagedOptions managedOptions = (IManagedOptions) managed.getScheduleOptions();
                   managedOptions.setDestinationOption(IManagedOptions.CeDestinationOption.ceInbox);
                   managedOptions.setSendOption(IManagedOptions.CeManagedSendOption.ceCopy);
                   Set destinations = managedOptions.getDestinations();
                   for(int i = 0; i < recipients.length; i++) {
                        infoObjects = infoStore.query("select top 1 * from CI_SYSTEMOBJECTS where SI_KIND = '"+ recipients<i>[0] +"' and SI_NAME = '"+ recipients<i>[1] +"'");
                        IInfoObject userOrGroup = (IInfoObject) infoObjects.get(0);
                        destinations.add(new Integer(userOrGroup.getID()));
                   IDestination managedDestination = reportScheduleInfo.getDestinations().add(managed.getProgID());
                   managedDestination.setFromPlugin(managed);
                   infoStore.schedule(reports);
                   Object newJobId = reportObj.properties().getProperty("SI_NEW_JOB_ID").getValue();
                   int newJobStatus;
                   String query = "select top 1 * from CI_INFOOBJECTS where SI_ID = '"+ newJobId +"'";
                   boolean loop = true;
                   while(loop) {
                        infoObjects = infoStore.query(query);
                        newJobStatus = ((IInfoObject) infoObjects.get(0)).getSchedulingInfo().getStatus();
                        loop = newJobStatus != ScheduleStatus.COMPLETE && newJobStatus != ScheduleStatus.FAILURE;
                        String statusStr;
                        switch(newJobStatus) {
                        case ScheduleStatus.COMPLETE:
                             statusStr = "COMPLETE";
                             break;
                        case ScheduleStatus.FAILURE:
                             statusStr = "FAILURE";
                             break;
                        case ScheduleStatus.PAUSED:
                             statusStr = "PAUSED";
                             break;
                        case ScheduleStatus.PENDING:
                             statusStr = "PENDING";
                             break;
                        case ScheduleStatus.RUNNING:
                             statusStr = "RUNNING";
                             break;
                        default:
                             statusStr = "UNKOWN";
                        ToolBox.log("La plannification est au statut '"+ statusStr +"'.");
                        if(loop) {
                             Thread.sleep(1000);
                   session.logoff();

  • Retrieving Historic Lock Statuses

    Good Afternoon,
    One of our tables on the servers is .dbotblfinreplock and houses all the present & historic data re the work status of entities. In BPC for Excel you can use the EVLCK command to return the latest entry (lock status). My question, is there any command or way in which you can retrieve the historic statuses for a certain time, entity or category from the table in BPC for Excel? 
    Many Thanks in Advance

    Go to BPC-WEB,
    select in the actionpane 'launch BPC System Reports',
    select in the actionpane 'Work Status Report',
    This report should give you a list of all changes made in the workstatus tables.
    Alwin

  • Problem retrieving javabean instance from request in JSP

    I am using WSAD and I created a javabean called confirmBean in default package which contains two private properties fname, lname and public setters and getters
    In a servlet I placed values in the bean, then placed the bean in a request and then forwarded to confirm.jsp
    confirmBean cb = new confirmBean();
    cb.setFname("testing");
    req.setAttribute("mybean", cb);     
    req.getRequestDispatcher("/confirm.jsp").forward(req,res);
    Here is my JSP, I used java syntax for retrieving javabean:
    <HTML>
    <HEAD>
    <TITLE>confirm.jsp</TITLE>
    </HEAD>
    <%@ page
    language="java"
    contentType="text/html; charset=ISO-8859-1"%>
    <%@ page import="confirmBean"%>
    <BODY>
    <% confirmBean myBean = (confirmBean)request.getAttribute("MYBEAN"); %>
    <%= myBean.getFname() %>
    </BODY>
    </HTML>
    and here is the error i am getting when executing:
    Error 500: Unable to compile class for JSP c:\testWorkspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\Test\TestWeb.war\_confirm.java:3: '.' expected import confirmBean; ^ An error occurred at line: 11 in the jsp file: /confirm.jsp Generated servlet error: c:\testWorkspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\Test\TestWeb.war\_confirm.java:78: cannot resolve symbol symbol : class confirmBean location: class org.apache.jsp._confirm confirmBean myBean = (confirmBean)request.getAttribute("MYBEAN"); ^ An error occurred at line: 11 in the jsp file: /confirm.jsp Generated servlet error: c:\testWorkspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\Test\TestWeb.war\_confirm.java:78: cannot resolve symbol symbol : class confirmBean location: class org.apache.jsp._confirm confirmBean myBean = (confirmBean)request.getAttribute("MYBEAN"); ^ 3 errors
    Please help!!!!

    1 - Put your bean in a proper package. As of Java1.4 classes in the default package are not visible :
    http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=c85f07c1ce8f344d787b7a5146d68:WuuT?bug_id=43615752 - As a matter of style, class names should always start with a capital letter. ie ConfirmBean
    3 - Rather than declaring the bean, and retrieving it, from the request manually, have a useBean tag:
    <jsp:useBean id="MYBEAN" class="com.mypackage.ConfirmBean" scope="request"/>
    of course the id has to be the same as the attribute in scope.
    Hope this helps,
    evnafets

  • Retrieving historical data from new ST04

    In the old ST04, you could get a nice, 3 month daily overview of key measures just by hitting "Previous Days".  I use that in my performance analyses.  With the new ST04, I have no idea how that's done.  From my understanding, the new ST04 should give you historical data if you give an initial snapshot date that's far enough back.  But I see no way to define the initial date as anything but "Database Start".  SAP_COLLECTOR_FOR_PERFMONITOR has been running consistently for months. Programs RSORAHCL and RSORAVSH are scheduled to run hourly every day.  So the history should still be there, and should be accessible.  However, the documentation on the new DBACOCKPIT is very sketchy, as far as I've seen.
    Can anyone either point me to some good documentation on this topic, or provide some hints.  I'd very much appreciate it.
    Thanks very much.
                                                       Gordon

    Stefan,
    The system I'm looking at, L6P, is on Basis 7.00 SP 13.  For troubleshooting, I compared L6P to our G8P system , which is on Basis 7.00 SP 15.
    One thing I found is that I can select some dates under the "Database Start" and "Up To Now" buttons on G8P, but not on L6P.  I further found that in table TCOLL, RSORAHCL has all 7 days marked in G8P, but no days marked in L6P.  That would explain why I see the dates in G8P, but not in L6P -- I need to flag the days for RSORAHCL in TCOLL.
    So now, I know what I need to do to pick dates going back as far as what's in AWR, according to dba_hist_snapshot.  I also see how I can change the snapshot interval and retention periods:
    begin
       dbms_workload_repository.modify_snapshot_settings (
          interval => 20,
          retention => 22460
    end;
    for example.  The data's in minutes, so I'd want interval = 1440 and retention = 902460 for 3 months of daily snapshot data.
    However, I still don't see how I can actually see the history.  I go into Statistical Information --> System Summary Metrics, select Metrics Datasource dba-view, and put in the dates I want.  I get a lot of metrics, but I don't see a way to limit them to the sepcific  ones I want (for data buffer hit rate, I think I'll need to get the physical and logical reads).  How can I clean this up to show only what I need?
    Thanks very much.
                                                                    Gordon

  • Retrieve App Instance Name in Adapter

    Hi,
    I am trying to get App Instance Name in the adapter, was not able to achieve this using standard set of Adapter Variable.
    Could someone provide your input on this.I tried mapping using Request Info but was not able to get thru it.  Appreciate your input on this.
    What I am looking for is, I have a connected App Instance created attached to RO/IT res. I have attached a custom adapter, i am trying to get the App Instance name that I am requesting in the adapter.
    Use Case is as below:
    1. User Requests App Instance in Catalog Search Screen
    2. Upon successful submission of the request, I am invoking adapter where I need to get the app instance that user requests.
    Thanks
    Raj

    Using the Process Instance Key and Resource Object Name:
                Account instance = null;
                SearchCriteria search = new SearchCriteria(ProvisioningConstants.AccountSearchAttribute.OBJ_NAME.getId(), resourceName, SearchCriteria.Operator.EQUAL);
                List<Account> accountsProvisionedToUser = getProvSvc().getAccountsProvisionedToUser(userKey, search, null, true);
                ACCOUNTS:
                for (Account account : accountsProvisionedToUser) {
                    if (account.getProcessInstanceKey().equalsIgnoreCase(processInstanceKey)) {
                        instance = account;
                        LOGGER.log(Level.INFO, "Account Instance Found: OIU Key:" + account.getAccountID());
                        break ACCOUNTS;
    The name is instance.getAppInstance().getApplicationInstanceName()
    -Kevin

  • SQL to retrieve faulted instances and fault reason code for SOA composites

    Hi,
    Could you please provide me some SQL which will retrieve composite faults with details on a particular period?
    Thanks in advance.

    SELECT ID, COMPOSITE_DN, STATE, CREATED_TIME FROM COMPOSITE_INSTANCE. You can add filters for created_time and state. Refer to this link for a list of composite states. https://blogs.oracle.com/dasoa/entry/list_of_all_states_from

Maybe you are looking for

  • Installation error message 1603 for itunes 8.0.2.20

    Need help. Installation keeps failing. Says that it cannot install. I'm on XP Professional. Removed all Itunes and QuickTime software using MS Uninstaller. I've disabled ant-virus and firewalls. Below is the text from the ItunesSetup.txt in the temp

  • Facelet support in ADF 11g

    Hi all, I am wondering if Facelet is officially supported in ADF 11g (currently looking at 11.1.1.3) I searched through both "Fusion Developer's Guide" and "Web User Interface Developer's Guide", neither guide talks about facelet support. Any advice

  • Trade-In Rebates for new iPods???

    Im a bit angry the new iPods are out so soon and I just got mine not even a year ago. The big thing for me is the battery power - _(Even the new Nano) 3X 's what Ive got in the 30gb._ Does anyone know if Apple will be offering any trade in rebates of

  • PB00 non editable

    dear Gurus I have to make PB00 non editable in PO that is the condition record price cannot be changed in PO , i have assigned not able to process manually to this condition still in PO line item it can be changed.....how to make it non editable..

  • Joining to an excel spreadsheet?

    Good Morning, Does anybody know how I can join an excel spreadsheet to a table in my sql database? My SQL Table is called pmh.vwTOPASInpatients My Excel File is called PMH Transfers Unsuccessful Transfers Data.xlsx and is on Sheet 1 They can be joine