11g BPM - definition of the instance of a running process instance data

Hello

What is the recommended model to interrupt the running process instance and modify an instance variable (data object)?

Scenario is:
-process instance is launched with an interactive look at the instance data
-an event is fired, effectively the interruption of the instance and change the instance data
-as soon as the user opens the screen for the interactive data has changed

Any help much appreciated.

see you soon

Tony

Hi Tony,.

It depends on what version you have.

If you use an earlier version or 11.1.1.5 (without the feature pack), I think that arun Pareek has an old blog on how to do it using BPEL. I can find it for you if you need.

If you use 11.1.1.5 (with the feature pack) or more, you can use a correlation as we are used to use in 10g. Let me know if you need more information, but your process would need to have:
1. a defined correlation that is unique
2. a subprocess of the event which has a startup (no-the interrupting) Message event that uses the correlation (this sub-process of the event, that's what you would use from outside the process to notify the process).
3A inside the subprocesses of the event, you would be directed to an update activity that would change the value of the variable in the main process (perhaps put to a value you pass in from outside the process via the subprocesses of the event start Message event).

Hope it gets you going. Let me know if you need more details.

Dan

Tags: Fusion Middleware

Similar Questions

  • Error ORA-17503 at the start of the instance data in the CARS

    Hello!

    I installed Oracle 11 g SE (11.2.0.4) with CARS with 2 nodes on RedHat 7.1 with separation of roles (grid and oracle db run under different users)

    Just after installation it worked, I was able to connect to the database, create a table and see it on the two nodes of the RAC.

    But after restarting the servers, I can not make it works again

    Maybe someone could help me understand what I am doing wrong?

    When I'm trying to start a database on the vm-ora-05 node instance, I get this:

    sqlplus/nolog

    01:35:22 @: > connect / as sysdba

    Connect to an instance is idle.

    01:35:28 SYS @ racdba1: > start

    ORA-01078: failure in the treatment of system settings

    ORA-01565: error in the identification of file "+ DATA/racdba/spfileracdba.ora".

    ORA-17503: ksfdopn:2 could not open the file +DATA/racdba/spfileracdba.ora

    ORA-12547: TNS: lost contact

    01:35:32 SYS @ racdba1: >

    **********************************

    Environment variables for GRID

    ORACLE_HOME=/U01/app/11.2.0.4/grid

    ORACLE_SID = + ASM1

    Environment variables for Oracle DB

    ORACLE_HOME=/U01/app/Oracle/11.2.0.4/rachome1

    ORACLE_SID = racdba1

    **********************************

    If I check the status of the disk groups and +DATA/racdba/spfileracdba.ora asmcmd file it seems to be Ok (for me at least)

    [grid of grid@+ASM1] $asmcmd

    ORACLE_SID = [+ ASM1]?

    The Oracle base remains unchanged with the value/u01/app/oracle

    [+] ASMCMD > lsdg

    State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block

    EXTERN MOUNTED N 512 4096 1048576 5121 4725 0 4725 0 SRC /.

    EXTERN MOUNTED N 512 4096 4194304 153596 151240 0 151240 0 N DATA.

    EXTERN MOUNTED N 512 4096 4194304 153596 153020 0 153020 0 N FRA.

    ASMCMD [+] > ls-l +DATA/racdba/spfileracdba.ora

    Name of type Redund time scratched Sys

    N spfileracdba.ora = > +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829

    ASMCMD [+] > ls-l +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829

    Name of type Redund time scratched Sys

    Fichier_parametres UNPROT COARSE NOV 03 01:00 Y spfile.267.894291829

    **********************************

    At the same time, do not know why oracleasm scandisks/listdisks appear not all discs...

    [root@vm-ora-05 Diba] # / usr/sbin/oracleasm scandisks

    Reload from disk partitions: fact

    Cleaning up stale ASM disks...

    ASM disks scanning system...

    [root@vm-ora-05 Diba] # / usr/sbin/oracleasm listdisks

    [root@vm-ora-05 Diba] #.

    **********************************

    Here is the result of the res stat-[NULL] crsctl you and crsctl check cluster

    [grid@+ASM1 grid] $crsctl res stat - you

    --------------------------------------------------------------------------------

    TARGET STATE SERVER STATE_DETAILS NAME

    --------------------------------------------------------------------------------

    Local resources

    --------------------------------------------------------------------------------

    ORA. CRS.dg

    Vm-ora-05 online

    ORA. DATA.dg

    Vm-ora-05 online

    ORA. FRA.dg

    Vm-ora-05 online

    ORA. LISTENER.lsnr

    Vm-ora-05 online

    ORA.asm

    LINE Started vm-ora-05 online

    ORA. GSD

    In offline mode offline vm-ora-05

    ORA.net1.Network

    Vm-ora-05 online

    ORA.ons

    Vm-ora-05 online

    --------------------------------------------------------------------------------

    Cluster resources

    --------------------------------------------------------------------------------

    ORA. LISTENER_SCAN1. LSNR

    1 vm-ora-05 online

    ORA. CVU

    1 vm-ora-05 online

    ORA. OC4J

    1 vm-ora-05 online

    ORA.racdba.db

    1 stop an Instance offline online

    Terminating the Instance offline in LINE 2

    ORA.scan1.VIP

    1 vm-ora-05 online

    Ora - ora. VM - 05.vip

    1 vm-ora-05 online

    Ora - ora. VM - 06.vip

    1 in LINE THROUGH MORE out of vm-ora-05

    [grid@+ASM1 grid] $crsctl check cluster

    CRS-4537: Cluster Ready Services is online

    CRS-4529: Cluster Synchronization Services is online

    CRS-4533: Event Manager is online

    [grid@+ASM1 grid] $

    Please help, this problem makes me crazy)

    -rwxr-x---x 1 grid 209854149 28 Oct 02:10 /u01/app/11.2.0.4/grid/bin/oracle oinstall

    ^ ^ This x must do for setuid/setguid not x for execute

    Check the docs on setuid/setguid and this note:

    ASM login fails with ORA-12547: TNS: lost contact (Doc ID 1942740.1)
    https://docs.Oracle.com/CD/E19683-01/816-4883/secfile-69/index.html

    This should solve the problem:

    /U01/app/11.2.0.4/grid/bin/Oracle chmod 6751

    Concerning

    Thomas

  • API calls for the current status of running processes and things

    Hi all

    I wonder if anyone no matter what API calls to get the current process list and the list of all programs installed on the BB device

    If there is not these API calls, is there another approach to get these lists?

    Thank you

    Dan

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/ApplicationManager.html

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/CodeModuleManager.html

  • Backup of the instance

    I have two laptop one is Win 7 OS & other is win 8 OS. Among this way to make a backup of the instance. data should be stored in a common folder. During the particular period or simultaneously backup should do automatically. How to do?

    Or any other method of backing up the instance. Kindly help.

    Hi Muhammed,

    Thanks for posting in the Microsoft community!

    Both computers are connected to a network?

    You have created a home group?

    You can check the link below which speaks of the backup.

    Back up and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/back-up-and-restore-frequently-asked-questions

    You can share data between computers using a home group.
    Please see the link below:

    Home Sweet homegroup
    http://Windows.Microsoft.com/en-us/Windows7/help/home-sweet-HomeGroup-networking-the-easy-way

    Reference:
    Homegroup
    http://Windows.Microsoft.com/en-us/Windows7/products/features/HomeGroup

    Homegroup from start to finish

    http://Windows.Microsoft.com/en-us/Windows7/help/HomeGroup-from-start-to-finish

    Home Sweet homegroup
    http://Windows.Microsoft.com/en-us/Windows7/help/home-sweet-HomeGroup-networking-the-easy-way

    What is a homegroup?
    http://Windows.Microsoft.com/en-us/Windows7/what-is-a-HomeGroup

    Please post back if you have any questions about Windows. I will be happy to provide you with the additional options that you can use to get the problem resolved.

  • Definition of the standard includes 11g

    Where can I find the definition of the standard includes 11 g? (which replaces std_page.htm 10g)

    Use case: I would like to create a template that looks like doc_info.htm. The content of this template is basically an inclusion called info_page_content. In 10g this inclusion has been set in std_page.htm. Now, I am unable to find its definition (I tried to find a resource that contains the text "< @dynamichtml info_page_content @ > ', but I couldn't find those coming from components such as dam or SAY;") all call them < $include super.info_page_content$ >)

    Thanks in advance for your answer.

    Hey Jiri,

    11g is the name of the stp_page.idoc file in the C:\oracle\Middleware\Oracle_ECM1\ucm\idc\resources\core\idoc folder

    MB

  • 11g RAC Installation fails add the instance on windows 2003 Server

    I am install 11g RAC on windows server 2003.
    Finished creating House of CRS and it looks good.
    Tried to create the database using DBCA it gives me below error. Help, please.

    D:\ > srvctl add instance d mgrpdb-i mgrpdb1 - n mgrpcluster-1
    PRKO-2010: error in adding instance to the node: mgrpcluster-1
    PRKR-1008: adding the instance mgrpdb1 on the mgrpcluster-1 node to the cluster database
    mgrpdb failed.
    PROC-27: error in authentication layer authentication failure [ALS error informat
    ion: category: operation [1234]: [scls_iddb_get_privgrp_id_by_name] location: [L
    [ookupAccoun] others: [LookupAccountName failed] Dep: [1332]] [1]

    concerning
    Musaddaq

    Salvation;

    Please check below and see its useful for your question:

    Upgrade to 10204 CRS cannot start Instance resource to aid native group 'dba' [603667.1 ID]
    PRK % error - Cause and Action required [ID 178435.1]
    Bug 3584146 - PRKR-1008 instance adding to SIR via SRVCTL [3584146.8 ID]

    It may be useful

    Respect of
    HELIOS

  • In ORacle 11g BPM simulation

    Should we the weblogic server to be upwards and the race for the process running in simulation in BPM Oracle 11 g mode?

    I have created a process using JDeveloper and try to run using simulations. The execute buttonm is deactivated in simulation mode.
    So should the weblogic server to run the simulation of processes in 11g?

    It should work without the WLS. Have you created a model simulation and definition?

  • Problem with BPM (JDeveloper) and the turtle

    Hello

    I have a strange error when you try to open a project of 11g BPM using JDeveloper. The project is under tortoise svn and whenever I try to open the BPM process, JDev crushes.

    Someone at - it do in this kind of mistake?

    Thank you all for the reply

    Fairlie

    Hi Fairlie,

    In JDeveloper, you can disable Versioning in JDeveloper by clicking on "Versioning" in the main menu-> click on 'Configure'-> uncheck the box.

    Dan

  • How to get the control instance data in Bean managed when data mutiple controls exist

    Below is my way. This works if there is only one control. is there an api that can be used to get the instance of the data control by name?

            DCDataControl dc = BindingContext.getCurrent().getDefaultDataControl();
            if(dc != null){
                AppModuleImpl am = (AppModuleImpl)dc.getApplicationModule();
               ...
             }
    

    I don't want to use this medium orginial.

          String amDef = "model.AppModule";
          String config = "AppModuleLocal";
          ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
          ViewObject vo = am.findViewObject("ObjectView1");
    

    Hello

    I guess you have a binding method as the first activity in your stubborn workflow. Open your workflow in preview mode, right-click on your connection method and say «Go to the PageDef» This will create a definition file page for the binding of your method. You can use this to put the iterator binding that you want to access from your init method.

    Rami

  • Dedicated is part of the Instance server process or not?

    Hi friends,

    I am new to Oracle database. I read book celebrates 'Expert Oracle Database Architecture' by Thomas kyte. Page n ° 62, he stated that "this dedicated server process is not (by definition) part of the instance."

    But in the [email protected] documentation to almost most of the places, they have mentioned this dedicated server is part of an instance. Interestingly, Tom Kyte has co-written book. I got confused because the dedicated server process would also PGA, so he will be part of the memory, so it should be part of the instance. Then Tom Kyte said to this dedicated particular process and why? It must be said that with any reason? What is it?

    I also asked my coach. But I don't have a satisfactory answer.

    Thank you.

    67bf3bdd-9577-45A7-a776-f8e8d3c9c0d3 wrote:

    Hi friends,

    I am new to Oracle database. I read book celebrates 'Expert Oracle Database Architecture' by Thomas kyte. Page n ° 62, he stated that "this dedicated server process is not (by definition) part of the instance."

    But in the documentations of [email protected] almost most of the places, they have mentioned that this dedicated server is part of an instance. Interestingly, Tom Kyte has co-written book. I got confused because the dedicated server process would also PGA, so he will be part of the memory, so it should be part of the instance. Then Tom Kyte said to this dedicated particular process and why? It must be said that with any reason? What is c?

    I also asked my coach. But I don't have a satisfactory answer.

    Thank you.

    Can cite you an instance- specific documentation indicating that dedicated server is part of the Forum?  Your embedded link is a "mailto" link, not a url to a document.

    I can provide specific links indicating otherwise.

    If I start to the Online Documentation of the database to Oracle 11 g Release 2 (11.2) I'm on the portal for all documents in database 11.2.

    From there, do a search for "dedicated server" and the results of this research to Oracle Database Search Results: dedicated server

    The first returned result is the definition in the Glossary

    The definition States:

    dedicated server

    A configuration database in which a Server process handles requests for a single client process.

    If I followed the link incorporated for the "server process", I get the definition of a "process server" to the Glossary

    Note that this definition is for the "process server", not just dedicated server.  It is said

    process server

    An Oracle process that communicates with a client process and the Oracle database to meet the demands of the user. The server processes are associated with an instance of database, but are not part of the instance.

    (underlining)

  • Parametric roles in Oracle 11g BPM

    Hi all!

    To us all who asked how the parametric roles in Oracle 11g BPM, here´s how do, hope this helps.

    Kind regards!

    Z3uV4k

    https://docs.Google.com/file/d/0B7YrnfO7h717M2U1MTlmMmEtZjI3Mi00ZTNhLWFhNTQtYzkyZjc5OGI5Y2I4/edit?PLI=1

    Can also focus on a blog post that I wrote based on an idea with arun Pareek came.  (click here)

    The differences are (1) that allows you to assign parametric groups roles or application rather than individual users roles, which makes them easier to maintain and IMO (2) it is much easier to do it using this technique.

    Dan

  • If the instance starts due to low memory?

    Hello

    11g R2 (Linux)

    Other day one of the 3 nodes obtained ousted due to low memory

    ERR message is

    «ORA-04031: impossible to allocate 4136 bytes of memory ('pool', 'unknown object', ' sga heap (3.0) ", 'gcs dynamic r') shared»

    ' LMS0 (ospid: 8489): put an end to litigation because of the 4031 error '


    Thank you



    He could go down. Normally, if a user session meets an ORA-4031, the instance is assigned and the only operation in the user session fails.  However, if a process (PMON, SMON, LGWR and DBWR etc) background data dictionary operations fails, it could bring back the instance.

    Hemant K Collette

  • How to restrict the instance in the hallway to initiate the user only?

    Hello

    In my process, using BPM 11.1.1.6, there are two corridors. The first corridor (SUBMITTER) allows you to instantiate an instance, and after that some tasks in the service, the user moves to the next human task, in the same way. On request, the instance moves to the second hallway (APPROVER). However, if the applicant has not yet presented the second human task (say it just saves) then all other authors of the COMMUNICATION in the same way SUBMIITER, can see his data! Apparently, it's because the instance is given the role of the ISSUER and not attributed to the person of instantiation.

    How can we limit the instance be assigned or limited ONLY to the user instancing (during his life in the way of the TRANSMITTER), while other authors of communication may not see his body?

    Any help is appreciated.
    Thank you!

    PS: are we instantiate the task via API, so we have the flexibility to make an API call if we know what API call will solve this problem. THX.

    One thing you'd want to double check before continuing is to see how the 'creator' predefined variable has the value entered into the human task is defined (not sure what it is about when the API is used).

    Assuming that the 'creator' (or other string variables) is set to userid of the initiator, here are the steps to assign that person to the task in a later human task.

    1. open the human task.
    2. click on the tab "assignment."
    3. click on the icon with the person in it-> click the 'change '.
    4. in the drop-down list, select 'Names and Expressions'-> make sure the 'Value-based' option button is selected-> click on the + icon on the right-> sub select 'Type of Identification', 'User'-> slot 'Type of data' select 'by the term'-> slot 'Value' click on the button «...» ».
    5 expand the 'task'-> scroll down and select "task: creator" (or any string variable that you set for the user ID of the person who created it in the API)-> click "Insert into the Expression"-> click on 'OK'-> 'OK '.

    Hope this helps,
    Dan

  • Leave only one participant who started the instance runs workitems

    Hello

    I want that some work items in my case to be executed by the participant who created the instance.

    I tried setting participant.sticky = true in the BeginIn of the process but did not work.

    Please tell me how to get there.

    Thank you
    Elina

    Edited by: 22 Elina_ Ιαν 2013 03:35 μμ

    Hi Elina,

    One way to do this in 10g would be to add this logic in an automatic activity immediately preceding your Interactive activity:

    participant.next = creation.participant
    

    'Participant' and 'creation' variables are variables predefined which is created automatically when a new work item instance is created. By the "participant.next" parameter, you say engine Oracle BPM work item must only show a person (from the default value of the being in the queue of each person who plays) in the queue. Setting it to "creation.particpant", that you want to set it to the person who created the work item instance.

    Dan

  • Upgrade to 11g - DBUA cannot retrieve the version

    Hello

    I'm upgrading to 10.2.0.4 11.2.0.2 version and I have problem at the beginning.

    Immediately after the beginning of DBUA in the I get the error that the version of the database can ' be retrieved. Somewhere in the logs I found:

    connect / * as SYSDBA
    trigger the echo;
    @/ u01/app/oracle/OracleHomes/db11g/rdbms/admin/rdbmsup.sql.

    exactly at this moment I have understanding problem.

    It seems that the new software wants to connect to the instance and cannot. What should I do to enable him to do this? I started the new(11g) listener and it is possible to connect to the previous instance of 10 g, but the old instance runs in the old House. I can connect to it, but I have to use the tnsname 'emrep '. Without using the tnsname, it connects to the instance of idle.

    SQL > conn / as sysdba
    Connect to an instance is idle.
    SQL > conn sys@emrep as sysdba
    Enter the password:
    Connected.

    Without doubt, I made a mistake while configuring the listener, but I can't find any indication in this sense. In all the places where I'm looking, I see only: "create new listener using netca and add the database in the database for this listener Services tab using netmgr." In fact there is no need to do the last because tha database uses the default port 1521.
    If I do just that, the I get in $ORACLE_HOME/networt/admin folder listener.ora only with the following content:

    listener.ora # Network Configuration file: /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = mmredora.aegon - net)(PORT = 1521) .to)
    )

    ADR_BASE_LISTENER = / u01/app/oracle

    After that, I see the database that is registered with the listener:
    [oracle@mmredora-SID:emrep] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-AUG-2011 15:38:23

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = mmredora.aegon - net)(PORT=1521) .to))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date 27 - SEP - 2011 15:34:19
    Uptime 0 days 0 h 4 min 3 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/OracleHomes/db11g/network/admin/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/mmredora/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = mmredora.aegon - net)(PORT=1521) .to))
    Summary of services...
    Service 'emrep' has 1 instance (s).
    'Emrep' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    Can someone help me with this?

    Can you please review the MOS Doc below

    11 GR 2 DBUA stipulates 'the POC file does not have the version directive' (Doc ID 980693.1)

Maybe you are looking for