Fuego.Lib.Correlation Equivalent PAPI WSJava Class

Hi,
Can you tell me which class in PAPI WS is equivalent to Fuego.Lib.Correlation.
I am looking for PAPI WS Java Class equivalent to the methods of Fuego.Lib.Correlation:
Correlation.findInstanceBy(name : "", values : {  });
Correlation.initiate(name : "", values : {  });
Correlation.terminate(name : "");
Thanks
-Sree

Change ProcessServiceSession session = processService.createSession("test","test", "anime"); to ProcessServiceSession session = processService.createSession("test","test", "/anime");

Similar Messages

  • Fuego.Lib.ProcessInstance must be explicitly instantiated before being used

    Hi,
    with the studio 6.0 i am getting the this type of message "Fuego.Lib.ProcessInstance must be explicitly instantiated before being used since it does not have a default initialization"
    I have created one default instance but it is not working like
    Fuego.Lib.ProcessInstance processInstance = Fuego.Lib.ProcessInstance();
    i am getting the java.Lang.NullPointerException.
    how can i correct this.
    Thanks for the reply in advance.

    Hi,
    You don't need to initialize ProcessInstance. You'd use it in one of two ways.
    1. You would use it to create a new instance in a process. You can drag either of the create methods from the Project Navigator tab into your logic to build a method call that creates a work item instance (either in the current process or another process depending on which of the two create methods you drag). This returns a string that is the id.id for the instance you just created.
    2. You would use it whenever you refer to one of the instance's predefined variables. You use the attributes ProcessInstance whenever you use an instance's predefined variable. As every work item instance is created in the Begin activity, the engine automatically creates a ProcessInstance object variable for the instance. Double click any Automatic activity in one of your processes and note that you have a set of predefined variables (activity, attachments, children, creation, deadline, description, id, etc.). Note that this exactly corresponds to the attributes in the Fuego.Lib.ProcessInstance.
    If you want to do something else with an instance, you might want to look at Fuego.PAPI.Instance.
    Hope this helps,
    Dan

  • Equivalent of SunPKCS11 class in HP JRE

    SunPKCS11 class in present in Solaris JRE, Linux JRE and Windows JRE but it is not present in HP JRE. Can any one tell what is the equivalent of this class in HP JRE.
    I heard that PKCS11 interfaces are present in every platform. Can any one tell what is this interface on HP.
    Thanks

    I would like to reiterate the question.
    I know that setting the class/XBoot paths will fix the issue.
    However, I also know that ClassLoader will promote search for a class from classpath -> xboot -> jre/bin/ext
    I prefer to deploy my app integrated with a JRE. So i put all jar files in the EXT dir of JRE.
    This approach worked fine in Java 1.4 but failes on Java5.
    i am talking about 1 jar file. jce.jar

  • How to terminate Correlation using Papi Call in Java

    Hi ,
    I have process processP1 in which there is a automatic activity A1, within this activity I am creating a correlation with the combination of customer_id and loan_id.
    Correlation.initiate(name : CORRELATION_NAME, values : { customer_id, loan_id });
    After that, there is a subprocess processP2, after the instance is prcessed completely in processP2, I have another automatic activity A2 in processP1 , I am terminating the correlation .
    Correlation.terminate(name :CORRELATION_NAME)
    One issue which I am facing is there is a instance for which a correlation was created, it failed in processP2 and was aborted. This particular instance never went to A2 the correlation was not terminated.
    Whenever the same combination of customer_id and loan_id is getting created, it is showing as duplicate entry.
    Is there a way to clear / terminate that particular correlation? Can It be done using Papi ?
    Any suggestions / advice would help.
    Thanks,

    Sreekant wrote:
    Hi ,
    I have process processP1 in which there is a automatic activity A1, within this activity I am creating a correlation with the combination of customer_id and loan_id.
    Correlation.initiate(name : CORRELATION_NAME, values : { customer_id, loan_id });
    After that, there is a subprocess processP2, after the instance is prcessed completely in processP2, I have another automatic activity A2 in processP1 , I am terminating the correlation .
    Correlation.terminate(name :CORRELATION_NAME)
    One issue which I am facing is there is a instance for which a correlation was created, it failed in processP2 and was aborted. This particular instance never went to A2 the correlation was not terminated.
    Whenever the same combination of customer_id and loan_id is getting created, it is showing as duplicate entry.
    Is there a way to clear / terminate that particular correlation? Can It be done using Papi ?1. Get the instances by using the below method. the below method is avliable in the ProcessServiceSession calss.
    InstanceInfo processGetInstanceByCorrelation(String processId,
    String correlationName,
    Object[] correlationValues)
    throws OperationException
    2. Notiy these instances using the method. the below method is avliable in the ProcessServiceSession calss
    processSendNotification(String targetInstanceOrProcessId,
    String activityName,
    String targetArgumentsSetName,
    Arguments notification)
    throws OperationException
    >
    Any suggestions / advice would help.
    Thanks,Hope this helps
    Narasimha

  • Fuego.Lib.Attachment, how to use it in my jsp?

    Hi, I'm trying to implement the attachment function to my jsp. I used the fuego library, attachment. I can create it succesfully but I can't download it from the workshop neither from my jsp. Do you know which method is the best to implement the download function in my jsp?
    I used this method to create it:
    binaryContent = BinaryFile.readToBinaryFrom(name : order.attach)
    order.attachB.create(contents : binaryContent, name : order.attach,
    description : order.description, remarks : order.remark);
    Lines in the jsp to create the archive:
    <tr>
                   <td class="formlabel">Attachment:  </td>
                   <td class="formvalue"><input id="attachment" size="42" type="file" <f:field att="order.attach"/>></td>
              </tr>
    In other jsp I'd tried to download it with the attribute contents of the same library in the jsp but that's not working or I'm using the attribute incorrectly.
    Guillermo

    No one here can help you, nor can/will Apple. Only the carrier the phone is locked to can authorize the phone's official unlocking. So, have your nephew contact the carrier the phone is locked to & request that it be unlocked...that is if the carrier offers unlocking.

  • PAPI Abstract Classes

    Hi,
      some classes, used by PAPI interfaces and defined in ME wsdl files, are defined as abstract.
      This is the list:
    AbstractBrowsePlugin
    AbstractToolBarStateHandler
    BaseConfigurator
    BaseDispositionRequest
    BaseManagedBean
    BaseReport
    DataAccessException
    DispositionOption
    DispositionRouterStepOption
    ExtensionConfigurationException
    FloorStockReport
    FrameworkRequestHandler
    InvalidSfcLocationStateException
    ListConfigStatus
    NCDataTypeField
    NCRequest
    NCSummaryByItemReport
    Plugin
    ResolveKeyFailureException
    ServiceExtension
    ServiceExtension
    SfcRoutingResponse
    StandardTimeExceededException
    TsmExpiredException
    WipByItemReport
    WipByOperationReport
    WipByWorkCenterReport
    Some of them generate an exception when I call a web service. For example SfcRoutingResponse.
    I think that some classes are defined abstract even if they must be non abstract.
    Thank you for your help,
      Filippo Bottega.

    No there are neither abstract classes or methods in AS3.
    You can either use interfaces, or simulate abstract methods by throwing an error in it :
    public function myAbstractMethod():void {
         throw new Error( "Abstract method" );
    This allows you to see when an abstract method is being called and has not been overriden.

  • AS2 equivalent of Document class?

    Is there a way in AS2 to approxmiate the functionality of assigning a document class to a FLA/published swf?
    I would like to publish a swf that is an instance of a Topic class (extends movieclip). For various reasons I can't use AS3, but I would really like to emulate that part. Any ideas?

    Found this. I think it will work!
    http://www.bit-101.com/blog/?p=857

  • I need to open a CLEAR DOCUMENT SO THAT I CAN TYPE MY PAPER FOR CLASS LIKE A WORD DOCUMENT

    I NEED HELP WITH OPENING UP A WORD DOCUMENT SO THAT I CAN TYPE MY PAPER?

    Hello waitingone,
    please try this (all terms are translated from my German programs to my best knowledge):
    1. Did the creator of the pdf file enable the import options?
    2. See import options: choose an other visibility option for your layer.
    3. Let you show the import options and click into one with a black background and try these out (often a gray is selected).
    4. See trimming: try the different modes there. Often works: "Media".
    5. Is the pdf file (eg from Word) correctly created?
    6. Is the PDF file protected? >>> no import possible.
    7. If that does not help, store the pdf file in Acrobat, repair possible errors, run the PDF Optimizer before placing in InDesign.
    Good luck!
    Hans-Günter

  • I need to write a paper for class. I have a MacBook Air but feel like I don't know what to do to create a document such I did with Microcoft word (Office). I am new to Apple.

    I just bought the MAcBook Air but need to write a paper. I don't know how to create a file or document.

    You have several options--some free.
    You can buy Office 2011 for Mac ( http://www.microsoft.com/mac/products )
    Your computer should have come with iWork that includes Pages, an Apple word processor. It can create Word-compatible files. http://www.apple.com/mac/pages/
    You can get the open-source (donationware) LibreOffice. Reads and writes Office files like Word, Excel, and PowerPoint: http://www.libreoffice.org/discover/libreoffice/

  • Known Oracle Thin Driver Issue :: Need an Equivalent for the Class

    Hi,
    We are working on an effort to migrate a J2EE application from WebLogic to OC4J. We noticed that one of the classes used the WebLogic implementation of the BLOB Data Type ( weblogic.jdbc.vendor.oracle.OracleThinBlob ). The original developers decided to use this class against the Oracle SQL API after reading this link :-
    http://support.bea.com/application_content/product_portlets/support_patterns/wls/CLOBBLOBDataTypeHandlingIssuesPattern.html#Known_Oracle_Thin_Driver_Issue
    We are porting our code to Oracle Application Server 10.1.3.1.0 that uses the latest JDBC Implemation Code ( The Manifest FIle lists the version as Oracle JDBC Driver version - 10.1.0.5.0 ).
    Can you please tell me if We may have a serious impact is using Oracle SQL API instead of the WebLogic BLOB Implementation ?
    Regards,
    Sandeep

    As mentionned in the link, this issue is fixed in 9.2 and 10g driver.
    Kuassi

  • Terminate one subprocess from another subproces

    Hi All
    I have a scenario in which there are two sub processes running in parallel and I want to terminate one sub process from another one for e.g.
    Let say Parent Process is - A
    First Child Process of A - a1 (Subprocess)
    Second Child Process of A - a2 (Subprocess)
    Now on a particular condition on a2(Subprocess) I need to terminate a1(Subprocess) and vice-versa.
    I had created correlation for both the sub processes.
    Solution I thought was that subprocess a2 should listen for notification from a1 for termination. But this is not feasible as subprocess a2 could be in any state and I don't know where to wait.
    Also how can a process be terminated as I am not able to find any api for process instance termination.
    Thanks in anticipation
    user9945154
    Edited by: user9945154 on Mar 25, 2009 11:56 PM

    Hi,
    You'd use logic like this to send a notification from one of your subprocesses to the target subprocess you're trying to terminate. In this example, it's important that you realize:
    1. The name of the target in this example is "TargetProcessToNotifyWithCorrelation". Change this to your target process's name and be sure to put the "\" in front of it.
    2. The name of the Notification Wait (now Message Wait for Oracle BPM 10g). ) activity in the target process in this example is "WaitForNotification". Right mouse click click the Nofication Wait activity in the target process -> Properties -> and note the "Activity id" name in the read only field at the top of the dialog box. A common mistake is to use the name with the space characters for this parameter (e.g. "Wait for Notification").
    3. The name of the Notification Wait activity's argument mapping in the target process is "In" in this example (the default for Oracle BPM 10g). Determine the name of the mapping in your target process's Notifcation Wait activity by right mouse clicking the activity -> "Argument Mapping" -> note the name highlighted in the upper left hand corner of the dialog.
    4. This assumes that you have already set up the Correlation in the target process before this notification is sent. In the example logic below, I used the customerId as the correlation (use the "initiate" method in the Fuego.Lib.Correlation).
    5. Both subprocesses have in this example the same "customerId" passed into them from their parent process. This way the two subprocesses know that they are siblings and can notify each other if necessary.
    6. It's easier if the two subprocesses where the two sibling instances reside are in different processes (e.g. one goes into the process "Check Credit" and the other sibling goes into the process "Check Inventory"). The reason is because correlations are like primary keys in a database table. They provide an easy way for notifications like this to be sent from outside a process either via PAPI or PBL using information that someone outside the target process can easily obtain (e.g. "customerId"). For every process, you can only have one correlation based on the customerId "227". If both siblings were in the "Check Credit" process, you'd get a runtime error when you tried to create the correlation based on 227. There's a way around this, but it would be easier if you just made sure that the siblings were in different processes. That way they could both use the same unique id and both are aware of what that id is (the value stored in customerId in this example) so they could easily send each other notifications.
    7. The Notification Wait in the target process's correlation is set to wait for the argument "customerIdArg" in this example. Change this to match the correlation you've already created.
    8. The editor for the OTN forum drives me nuts. While it's common in code to have open and close square brackets, if you do this in code snippets in this editor it changes the text to either disappear or underline (thinks I wanted a link). The sloppy way I worked around this in the logic below is to type the text "open square bracket" and "close square bracket" in the comment above the line that you'll see presented incorrectly
    <pre class="jive-pre"><font color="navy">// set up the associative array (a hash table)
    // - this next line of logic should instead read:
    // "any as Any open square bracket Any close square bracket"
    args as Any[Any]
    // Set the value to the argument to be received in the Notifcation Wait
    // by populating the associative array
    // - this next line of logic should read:
    // args open square bracket "customerIdArg" close square bracket = customerId
    // - leave the double quotes around "customerIdArg" or you'll get a syntax error
    args["customerIdArg"] = customerId
    send Notification
    using processId = "/TargetProcessToNotifyWithCorrelation",
    activityName = "WaitForNotification",
    arguments = args,
    argumentSetName = "In"</font></pre>
    Hope this helps,
    Dan

  • Adding/deleting attachments using Fuego.Papi in OBPM10g

    Hi,
    I am seeking a resolution to the below issue. It will be really great if somebody can help me on this.
    The scenario is as follows.
    - Using global creation activity to fetch all eligible instances for a particular process using Fuego.Papi api.
    - The aim is to show and add attachments to the instances if required by the user.
    - Need to do this through a presentation, if needed jsp also.
    Problem statement
    - Is there any facility in the Fuego.Papi api to achieve this?
    - Is there any connection between Fuego.Papi api and Fuego.Lib api? As instance variable are directly not accessible via Fuego.Papi.Instance object. Is there any way to typecast Fuego.Papi.Instance to Fuego.Lib.ProcessInstance?
    - Is it possible to show the attachments individually in presentation or jsp is a must?
    Since there is a change in api from 5.7 to 10g, I am finding it difficult to solve it.
    Thanks in advance to all.
    Soubhagya

    Hector -
    Looking at you sequence, it appears that you have calling a subsequence that is removing steps from the caller's sequence. TestStand does not support editing sequences while they are running and we do not test this either. 
    When you execute a sequence in TestStand, the engine creates a runtime copy of the sequence that relies on some of the information stored in the edittime copy of the sequence. TestStand expects that the number of steps in both of these copies of the sequence to be the same. When they are not, it is possible to get an execution into a bad state. At the moment, your sequence is likely working because you are updating only the runtime copy and most of the references back to the edittime copy appear to be holding up. If you had in some way updated the edittime copy, I suspect that you would have seen a crash. Also, we actually reuse runtime copy of sequences within an execution, so the next time you called the sequence, you might find that the steps have already been removed.
    If you somehow want to build a sequence in a sequence file prior to calling it, that would be supported. You just have to ensure that the file is not being used in another execution, i.e parallel or batch model.
    Scott Richardson
    National Instruments

  • Fuego Papi Client

    I have some problems when I used fuegopapi-client.jar, when I use this library in BPM Studio run without errors and retrieve all instance from
    a process that I choose in the presentation, but when I run in BPM enterprise throw an exception the process name_process#default1.0 don't exists but the
    process exists. Please help with this problems.
    //this code retrieve all processId of the process in the BPM proyect(this code run without errors)
    Properties configuration = Properties();
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    ModComponentes.Fuego2.Papi.ProcessService procesoService = ModComponentes.Fuego2.Papi.ProcessService.create(configuration);
    ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession =
                                            procesoService.createSession(this.sfcParticipant.name, "123456", null);
    ModComponentes.Fuego2.Papi.Process[] ext = (ModComponentes.Fuego2.Papi.Process[])procesoServiceSession.processesGet(false);
    foreach(item in ext){     
         this.sfcEstadoCredito.sProcesos[item.id] = item.name;
         this.sfcEstadoCredito.sProcesoId = item.id;                    
    procesoServiceSession.close();
    procesoService.close();
    //this code retrieve all instance from a process( only run in studio but when i run in enterprise throw an exception)
    Properties configuration = Properties();
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_ID, "default");
    //Oracle BPM Studio
    //configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.PROJECT_PATH, "D://Final//Proyecto");
    // Oracle BPM Enterprise
    configuration.setProperty(ModComponentes.Fuego2.Papi.ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    ModComponentes.Fuego2.Papi.ProcessService procesoService = ModComponentes.Fuego2.Papi.ProcessService.create(configuration);
    //Oracle BPM Studio
    // ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession = procesoService.createSession(Fuego.Lib.Participant.name, Fuego.Lib.Participant.name, null);
    //Oracle BPM Enterprise
    ModComponentes.Fuego2.Papi.ProcessServiceSession procesoServiceSession =
                                                 procesoService.createSession(Fuego.Lib.Participant.name, "123456", null);
    ModComponentes.Fuego2.Papi.Filter filtro = procesoService.createFilter();
    filtro.searchScope.participantScope = ModComponentes.ParticipantScope.ALL;
    filtro.searchScope.statusScope = ModComponentes.StatusScope.ALL;
    filtro.addAttribute(ModComponentes.Fuego.Papi.VarDefinition.getDefaultVarDefinition(ModComponentes.Fuego.Papi.VarDefinition.CREATION_TIME_ID),
         ModComponentes.Comparison.GREATER_OR_EQUALS, this.sfcEstadoCredito.dFechaInicio);
    filtro.addAttribute(ModComponentes.Fuego.Papi.VarDefinition.getDefaultVarDefinition(ModComponentes.Fuego.Papi.VarDefinition.CREATION_TIME_ID),
         ModComponentes.Comparison.LESS_OR_EQUALS, this.sfcEstadoCredito.dFechaFin);
    filtro.matchAll = true;
    ModComponentes.Fuego2.Papi.InstanceInfo[] instanciaByFilter;
    instanciaByFilter = ((ModComponentes.Fuego2.Papi.InstanceInfo[])
                             procesoServiceSession.processesGetInstancesByFilter(ProcessIdSet.create.add(this.sfsProcessId), filtro));
    procesoServiceSession.close();
    procesoService.close();
    //**********************************************************************//

    Hi,
    Please incorporate the following code, hope this help you.
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    // Change the path of the directory.xml file accordindly
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "c://bea//albpm6.0//enterprise//conf//directory.xml");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    Bibhu

  • How to get creation date from Fuego.Papi.Instance

    I got all process instances from papi. The instances are Fuego.Papi.Instance.
    I also need the creation date of the process instance, but I cannot find it in Fuego.Papi.Instance.
    How to get the creation date from Fuego.Papi.Instance?
    Thanks,

    Yes, I knew Fuego.Lib.ProcessInstance is able to get creation date.
    But my code is not in the that process. I am using papi to get the process instance which returns me Fuego.Papi.Instance. Is there a way to get Fuego.Lib.ProcessInstance from Fuego.Papi.Instance?
    My code is like this
    businessProcess = ProcessService.getProcess(process : "processName");
    instances = businessProcess.getInstancesByFilter(filter : instFilter);
    //then loop each instance and I need the creation date

  • Create Session and notify process via WS-Papi

    Hi,
    In the development of several examples and tutorials to learn how to "communicate" with other services, i'm finding some doubts about the session generated for the external program. This point made me ask two great doubts:
    1) How can i iniciate a session using WS-Papi?
    2) In the process, there are some points that needs to communicate and get parameters from outside, ie from another application via WS-Papi. My doubt is how to do this and get the response using notification process activity or automatic activities to "release" another notification wait activity.
    a) Is valid this option, using notification wait-response activities.
    b) is there another way to sync this kinda events?
    Greetings,
    PS: I forgot to describe my available applications
    BPM: ALBPM 6.0.4
    BUS: ESB 3.0
    WL: WLS 816
    Edited by: CCR on 08-jul-2009 6:27

    You should probably also reference these JAR files in your PAPI project:
    fuego.lib.jar contains the fuego/lang/BytecodeIntrospector class that is missing from your classpath. It's located in the BPM Studio install directory, in the \lib sub-directory.
    If you receive messages about missing class definitions for bcel or JMS exception classes, also include bcel.jar and jms-api.jar in the BPM Studio home, \client\papi\lib sub-directory.

Maybe you are looking for

  • Noises on external USB audio interface (Yamaha MW12) with Snow Leopard

    Hi there, I got an issue with strong noises (kind of distortion) while playing all kind of music/sounds ( itunes/Reason/Cubase) via an external USB audio device (Yamaha MW12 mixer). Some important facts: + This had not been from the very first beginn

  • Toshiba File Manager - working with custom file extensions

    Hi Developers,    I am trying to create an App that handle a specific file extension. I impelemented the required functionality in the Application.   When someone clicks on the file (say .xyz file) in a Third-Party file manager like AstroFileManager

  • How to use VBA to View PDF file and use an OCR object?

    As subject, I need to use VBA to open PDFs via Acrobat. Convert images to texts. And get some key words from the documents. But I cannot find the API for VBA from SDK.

  • Nokia N8 - Ram and preinstalled tones

    Hi, I am a proud owner of the Nokia N8. I am happy with it. I just want to ask - which pre-installed software can I delete to beef up my Ram? Communicator? Etc.? I want to delete apps that I may or may not use that may help increase my ram. Currently

  • Continued Bonjour-problems

    Hi, I'm aware that this topis has been raised before, but I'm pretty close to going nuts, so my appologies for the re-post. I'm currently unable to install iTunes (latest version) due to a Bonjour-conflict "bonjour service failed to start". I have ad