Using Papi for Filter Activity

Help,
I need help for get name ativities.
I think in use PAPI for it, but I don't sucess.
I need to see where this activity to stop, passing a correlation.
someone has any idea ?
Thanks
Marcelo

learned how to do:
code :
BusinessProcess bp;
ProcessService p;
Fuego.Instance[] res;
Fuego.Papi.InstanceFilter f;
String processName;
bp = BusinessProcess();
f = InstanceFilter();
processName = "myprocessid";
bp.connectTo(url : Fuego.Server.directoryURL, user : "xx", password : "xx", process : processName);
f.create(processService : bp.processService);
f.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ALL);
f.addAttributeTo(variable : VarDefinition.ACTIVITY_ID, comparator : Comparison.IS_NOT,
value : "xxxx");
f.addAttributeTo(variable : VarDefinition.ACTIVITY_ID, comparator : Comparison.NOT_CONTAINS,
value : "xxxx");
res = bp.getInstancesByFilter(filter : f);
foreach (inst in res) {
     activity = inst.activityName;
bp.disconnectFrom();
}

Similar Messages

  • HT1414 how to use itune for iphone activation

    how to use itune for iphone activation

    Get the latest version of iTunes, your Apple ID and just connect the iPhone to your computer and iTunes will guide you through activation.

  • How to Use 'uid' for AD Users Without Domain Name For User Log in OAM

    How to Use 'uid' for synchronized Active Directory (AD) Users into Oracle Internet Directory (OID) Without Domain Name For User Logins in OIDDAS and OAM
    We successfully integrated OAM 11g with EBS R12.1.3 Now all the AD user id's stored in fnd_users table as [email protected]
    How can we remove @abc.com
    We are using OID 11g and OAM 11g
    Found the similar note for OID 10G: How to Use 'uid' for AD Users Without Domain Name For User Logins in OIDDAS and SSO [ID 580480.1]
    We are in OID 11g.
    Any help on this greatly appreciated.

    I couldn't find any reference that could be helpful -- Please log a SR and see if this is supported and if the steps are available.
    Thanks,
    Hussein

  • Error in wait for event activity

    hi all,
    i am gettin gfollowing error when i am using wait for event activity in my WF.
    wait step 0000000088: No valid object ID in container element 'EVENT_BOR'
    'EVENT_BOR' is my container element of type BOR object which contain event.
    please tell me correct way to use wait for event step.
    i am using this on one parallel branch of Fork.
    thanks.

    Hi,
    check the event in SWO1 if there is an import parameter defined. If there is one you have to define the binding in the task waiting for event. You have to bind the relevant object type from workflow to containerelement &_WI_OBJECT_ID& of the event container.
    reagrds,
    Steffen

  • Query for 'User Activity' Webi Line Chart using BO4.0 Auditor

    Need to create a webi line chart to measure  ‘user activity’ per month, year or day using BO4.0 Auditor on Oracle.    
    This question raises two sub-questions:
    What actions constitute user activity?  Is it concurrent logins by users?   I am confused if that would really give a true picture of user activity as users can log in and do nothing on the BO system.  
    If concurrent logins do in fact give a true picture of user activity then how do I go about creating a chart? What objects do I need to include in query?
    Please provide feedback?
    Thank u.

    Hi Ramil,
    Follow below steps to create a webi report for your requirement, launch Webi rich client and create a new webi report by selecting "BOEXI40-Audit-Oracle" (Audit universe)
    1) Select below objects in 'Result Objects' pane
    [Event Year], [Event MonthName],[Event DayofMonth], [Event Type], [User Name], [Total Event Count]
    2) Define below conditions in "Query Filter" pane
    [Event Type Id] In list 1015 AND [Event Year] In list "Select Year" (Prompt)
    3) Run query
    4) At report level create a new variable of type measure with the name "User Activity" with below formula
    =Count([Total Event Count]In([User Name];[Event MonthName];[Event DayOfMonth]) )
    (This formula will track  logout event of a each user in a day as well as in a month, it will take/count only one log out event of the user in a day as you desire)
    5) Create a table block as well as graphs as you desire
    i) For day wise user activity create a table/graph using: [Event DayofMonth], [User Activity]
    ii) For month wise user activity create a table/graph using: [Event MonthName], [User Activity]
    Let me know if you have any questions
    ~Manoj

  • Multiple active implementations for filter value EXEC_METHODCALL_PPF

    Hi,
    I have created an implementation for the EXEC_METHODCALL_PPF badi which is triggered from an action in a transaction.It is working fine in the development system but while transporting it to the quality system I am getting the following error.
    Multiple active implementations for filter value EXEC_METHODCALL_PPF definition
    Errors occurred during post-handling AFTER_IMP_SXCI for SXCI L
    AFTER_IMP_SXCI belongs to package SECE
    The errors affect the following components:
    BC-DWB-CEX (Customer Enhancements)
    When i refer to the documentation of the error message it says....
    Multiple active implementations for filter value EXEC_METHODCALL_PPF definition
    Message no. ENHANCEMENT474
    Diagnosis
    There are multiple active implementations of the same business add-in definition, even though this is not allowed.
    System Response
    This is not correct and should not occur.
    Procedure
    Deactivate the implementations active for this BAdI definition one by one until there is only one active implementation left.
    You should use transaction SE18 (Utilities -> Adjustment -> Multiple-use interfaces) to solve these conflicts systematically.
    But I am apprehensive if deactivating all the standard implemenatations of the badi will create any problem.Please can any one suggest as to how to resolve this issue....
    Any help would be highly appreciated.

    Hello,
    Please check the following suggestions
    a) go to se18 -> enter your definition name and see if "Multiple" call check box is ticked in Quality
    b)compare your transports since some objects in development may not have found it's way to the quality server
    c)Please see if for the same definition,for different filter values...implementations are done...if so,is multiple checkbox marked? in quality also?if you have multiple implementations with the check box not marked..the message conveys u cannot have multiple implementations of the same badi....
    d)also check if the filter being passed to the BADI is ok
    Hope it was useful in some way
    Reward if helpful
    Regards
    Byju

  • How to notify a Notification Wait activity using PAPI

    I am trying to use Papi code to release an instance waiting in the notification wait activity of a process deployed in the enterprise server .... for this I am running the papi code from main method of a java class running in eclipse using the notify.send(........) method ........but when the code hits the notify.send(.......) method it is giving the following error :
    Exception in thread "main" java.lang.IllegalStateException: The component must be invoked on a server-side method.
         at fuego.components.ProcessInstance.getCurrent(ProcessInstance.java:590)
         at fuego.components.Notification.send(Notification.java:229)
         at PapiCode.main(PapiCode.java:61
    Can someone point out the error and how to resolve it ??

    Hi,
    I am a little confused with the package name of the classes and components you are invoking. If you are using the Client API PAPI, then the package name should be fuego.papi.*.
    I think you are using the internal components that should be used within a process implementation that assume running in the context of the Engine instead of a pure client application.
    Unless I am interpreting this incorrectly, you should use a client Java Application using PAPI to connect to a deployed process into an OBPM Engine.
    I would recommend you take a look at the very good introduction document that talks about PAPI, explains how to compile a program and also talks about how to write your first PAPI program client. It will also outline all the needed jar files need to include from a client application perspective. The link is: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html.
    You may alternatively like to check the main Oracle BPM 10gR3 Documentation page through this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html
    HTH,
    eduardoc.

  • Global Activity to use while using PAPI

    Hi,
    I want to create an instance by adding PAPI code to a web-service or by exposing my process as a web-service. Which Global Activity do we use while creating an instance using PAPI ? Is it Global Automatic or Global Creation?

    Hi,
    You can create a new work item instance in a process using (1) PAPI (the Java API) or (2) PAPI-WS (the web service API) or (3) the process specific web service running on the Engine's port 9000. When you do this, the work item instance goes directly into the Begin activity of the process. Once there the work item instance is created and is automatically routed to the first activity in the process.
    There are many reasons for using Global Interactive and Global Automatic activities in a process but you do not need to use a Global Interactive or Global Automatic activity when creating instances using any of these 3 APIs.
    Once an instance is created using any of these 3 APIs, the work item instance immediately and automatically flows to the next activity in the process downstream of the Begin activity.
    Dan

  • TS4268 Why have I been charged for iMessage activation now, when I have been using iMessage for more than one year?

    I received a message on my iPhone saying that some charges could be applied due to activiation of iMessage. My question is: why have I been charged now, if I had already activated iMessage and I have been using it for more than a year.

    We are basically users and can't really help with activation. So unless a staff member can check in, you need to speak to Customer Service.
    http://helpx.adobe.com/x-productkb/global/service1.html
    Serial number and activation chat
    or
    800-833-6687
    Monday—Friday, 5am—7pm PT

  • Problem using PAPI-WS for external process notifcation

    Hello,
    I'm trying to have an external Java application send a process notification using PAPI-WS.
    I have a process instance currently sitting at a notifcation wait step (configured to wait for an external notification) but each time I call processSendNotification I get the an unspported operation exception. I'm not even sure this is the correct ws operation to use but looking at the PAPI API reference it seemed the most likely.
    Below is a snippet from the code I'm testing this with and the corresponding output including the exception:
    for (InstanceInfoBean instance : instances.getInstances())
    String waitStep = "WaitForDelivery";
    System.out.println("-> process id = " + instance.getId());
    // find which instance are waiting on delivery
    if (waitStep.equals(instance.getActivityName()))
    System.out.println(" -> " + instance.getAuthor() + " is waiting on delivery!");
    papiWebServicePort.processSendNotification(instance.getId(), waitStep, null, null);
    Process: WhatToHave
    -> process id = /WhatToHave#Default-1.0/2/0
    -> process id = /WhatToHave#Default-1.0/1/0
    -> Andy is waiting on delivery!
    Could not perform the requested operation
    stubs.OperationException_Exception: The BEA AquaLogic® BPM Engine version does not support the required operation.Please ask BEA AquaLogic® BPM Administrator for assistance.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:127)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy31.processSendNotification(Unknown Source)
    I'm doing this all using BPM Studio 6.0.2 (build 85749) on Linux.
    Any help or pointers greatly appreciated,
    Thanks,
    Mike

    Hello,
    I'm trying to have an external Java application send a process notification using PAPI-WS.
    I have a process instance currently sitting at a notifcation wait step (configured to wait for an external notification) but each time I call processSendNotification I get the an unspported operation exception. I'm not even sure this is the correct ws operation to use but looking at the PAPI API reference it seemed the most likely.
    Below is a snippet from the code I'm testing this with and the corresponding output including the exception:
    for (InstanceInfoBean instance : instances.getInstances())
    String waitStep = "WaitForDelivery";
    System.out.println("-> process id = " + instance.getId());
    // find which instance are waiting on delivery
    if (waitStep.equals(instance.getActivityName()))
    System.out.println(" -> " + instance.getAuthor() + " is waiting on delivery!");
    papiWebServicePort.processSendNotification(instance.getId(), waitStep, null, null);
    Process: WhatToHave
    -> process id = /WhatToHave#Default-1.0/2/0
    -> process id = /WhatToHave#Default-1.0/1/0
    -> Andy is waiting on delivery!
    Could not perform the requested operation
    stubs.OperationException_Exception: The BEA AquaLogic® BPM Engine version does not support the required operation.Please ask BEA AquaLogic® BPM Administrator for assistance.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:127)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy31.processSendNotification(Unknown Source)
    I'm doing this all using BPM Studio 6.0.2 (build 85749) on Linux.
    Any help or pointers greatly appreciated,
    Thanks,
    Mike

  • Windows Azure Platform Support: "Prompted for "Windows Activation" when logging onto a Windows Azure Role Instance using RDP"

    Symptom
    When a user interactively logs (using RDP client) on to a Windows Azure Role Instance running Windows Azure Guest OS 1.11, they see a “Windows Activation” dialog box.
    Action
    The user can ignore this dialog box by simply clicking either “Cancel” or “Activate Later” button on the “Windows Activation” dialog box. This pop-up window is just an UI issue in Guest OS 1.11 and no OS functionality
    issue. All Role instances running any version of Windows Azure Guest OS has valid volume licensing key and are already activated. There is no need to provide any activation key to validate the OS. 
    Please don’t try to activate Windows Azure Guest OS using your Windows Server OS Key, this will cause unexpected downtime and will require a reboot. Activating Windows Azure Guest OS is not a supported scenario.
    Workaround
    Use the next available OS or any previous version of OS (e.g., 1.10) to work around this issue.
    Other forum references:
    RDP on Webrole with newest guestOS: why is it asking for windows activation
    Windows Azure Platform Support - If you found this post useful, let us know by clicking "Vote as Helpful". - #wapsupport

    this is still an issue and the work around did not work

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • Can I get the participants of the role of some activity using PAPI?

    Hi all,
    Can I get all participants who have the role of one activity using PAPI? how?
    thanks and regards.

    Hello,
    I have the same problem, how to get the participants of specific role using PAPI ?
    Thanks

  • How to use rowid in filter for datawindow?

    I try to use filter to filter data in datawindow, like
    dw_1.SetFilter("column = value")
    dw_1.Filter()
    then I can get data from this datawindow like:
    GetItemNumber(row, column_name)
    GetItemString(row, column_name)
    but I want to filter expression like
    "column = value and rownumber>10"
    How to use datawindow row number for filter?

    What about GetRowIdFromRow and GetRowFromRowId methods for DataWindow control ?
    AUS Julián Tagarro
    NeoSistemas SRL

  • Using ps2 for years and today it tells me my 30 day trial has ended? I can't seem to find support or the re activation on line site. What's going on?

    Does Adobe have a phone support option? I have been using ps2 for years and today the program tells me that my 30 day trial has ended . . .can any one help with this issue?

    The activation servers have been shut down.  Go here for a version which does not require activation, just enter the serial number that you will be given:
    Download Acrobat 7 and CS2 products

Maybe you are looking for

  • File Sharing over web interface?

    I am trying to figure out a solution. We are an advertising agency that we need to transfter files between our studio and clients (which are mostly PC based and cannot connect to conventional ftp server) so we are looking at creating something like d

  • Order by in Parameter form for a formula col

    Hi, I have made a report for fast moving products and have ordered by on a formula column. Is there any way to select the order by (ascending or descending) in the parameter form at runtime for the same formula column. Instead of making two different

  • UTL File output shows junk characters

    Hi, I have a interface where i'am displaying the details in a text file using the UTL package. The output is showing correctly but there are few junk characters at the end of the string like small boxes. Can anybody advice as why this is happening an

  • Show HTML in Personal Profile?

    i'd like to show HTML (from a file or from a string) in any kind of component in an app running on a PDA. Probably i will use Personal Profile (and WSDD). Are there any components I could use to show HTML. Maybe in AWT? I know there are components li

  • Retrieve previously used number

    Hi All, How do i retrieve a previously used number (billing number) in transaction VA01? I want to enable a BDC to auto create a credit limit in transaction VF01 when certain criteria of the billing number is fulfilled. Anyone can help? Message was e