Timeout instance process

Hello

I created process using only the automated elements (none of the interactive components). I call using the ProcessInstance.create () method. Is there a deadline for the execution of a single instance in this process?

Concerning
Peter

Hi Peter,.

A single work item instance that flows through your processes will have a STANDARD period. It does not matter if your process 1 automatic activity or 14.

This isn't what you're asking, but you can set a deadline for the whole process complete by setting the variable defined inside the process. Not surprisingly, this predefined variable is called "deadline". Inside of the influenza Begin or any automatic activity, set this variable in the future (for example "date limit = 'now' + ' 2 h '"). Once this period is exceeded, an exception is thrown. You will want to make up for it within the exception as exception 'ProcessDeadline' handler

An individual work item instance that is running inside a single automatic activity can have deadlines in the setting of the engine. The engine has a "Maximum BP-methods Timeout" property initially the value of 30 minutes. Similarly, the engine has a "Maximum process Web Service Session Timeout" property initially set for 5 minutes.

Dan

Tags: Fusion Middleware

Similar Questions

  • Unable to follow a memory/CPU use instance in a set of user data

    I'm trying to follow a process on the system running Windows Vista, I tried to create a user 'reliability and performance Vista Analyzer' Data Collection set (perfmon). What I have is the following:

    1. Under 'Sets of data collectors'-> 'User Defined'-> right click and 'New'-> 'set of data collectors.
    2. In the wizard, I chose 'Creation manual'-> tick 'Counters in Performance'-> click on the button "Add..." »
    3. Click on 'Treat'-> ' % time processor "(or indeed any other meter), choose my instance (for example, iexplore) and click on" Add > ".
    4. Confirm the rest of the wizard and start the game

    What is happening is that the game runs and creates a log file, but when I stop and try to open the file, none of the counters specific to the instance to report, in the chart or legend. If I add a counter with "_Total" instance I can get results.

    I also tried to add all counters for a specific instance (\Process(iexplore)\*), in this case I got results, but they we're for "_Total", not for the specified instance.

    General information:
    Windows Vista Business 32-bit
    Intel Core 2 Duo CPU E6550 2.33 GHz
    2 GB of Ram

    Any contributions to this issue would be greatly appreiciated, thanks in advance!

    Quick update: it appears a display problem. After opening the log file I had to manually add the counters of the instance to chart to see.

  • information on the process for cigars for a windows service

    Is there a way to monitor the process information of type sigar for a process that is running as a windows service?  I have a plugin this info from autodiscovers and measures for the service using perfmon:
    < name metric = "availability".
    model = "win32:Service = ${service_name}": availability ""
    indicator = "true" / >
    < name of the filter = "object" value = "Process" / >
    < name of the filter = 'process '.
    value="Win32:type=formatted,object=${object},instance=%process.name%"/ >
    < name of the filter = 'template '.
    value = "${process}: ${name}" / >
    < name metric = "% privileged time" / >
    I like to shoot in all measures of process - metrics.xml for example:
    < name metric = "size of virtual memory for the process."
    Template="sigar:type=ProcMem,arg=%process.query%:size".
    units = 'B' / >
    I can do this directly, but I really need a way to link the process of return to service.  There are processes with duplicated names (but unique PIDs) with unique service names.

    Hi Chris,

    You can use the name of the service for the ptql query, for example:

    java-jar sigar.jar ps Service.Name.eq = Eventlog
    1036 SYSTEM Nov11 36M 4,2 M - R 11:51 C:\WINDOWS\system32\services.exe

    Sigar below will search the process pid by using the name of the service.

    You will also find plugins that can use "Pid.Service.eq", which is the same query below.  Has since been replaced by the following:
    http://JIRA.Hyperic.com/browse/Sigar-90
    http://JIRA.Hyperic.com/browse/Sigar-91

  • start a second instance of illustrator

    Hello

    y at - there no possibility to start a second instance/process of illustrator; Maybe by command line parameter?

    If I open with "illustrator.exe c:\temp\test.ai" illustrator and illustrator works already, the current process is always used.

    Use specific test.ai case should be opened in a new process if illustrator works or not.

    Thanks for the tips

    Markus

    Lol you would have to create a virtual machine for that...

    Mylenium

  • Add a new instance to the NON-RAC database?

    I could create a new instance to the non-rac database?

    I tried to use dbca to create the second instance, but I read, help, that is not possible.

    There is no way to create the second instance in a single database? (No. - CARS, no. - ASM, just a normal database)

    Thanks in advance.

    Instance = process and memory
    Basis of data = all data files.

    For a database no CARS, there is a one-to-one mapping between the instance and database.

    If you don't want to use an existing database to store the new patterns, you need to create a new database.

  • Max of the Instance size?

    Hey all,.

    Nobody knows where and how you set the size the instance process max? I created an object of BPM with a string attribute. I then created a quick presentation so that I could cut and spent an xml document in the text box and submit the form. When I submit the form, I get the following error:

    Caused by: error in executing for the process execution engine.
    Caused by: Max size exceeded instance.
    Current size is 23461, while the maximum size is 16384.

    My code seems to work very well with a small xml document. Any ideas would be very appreciated.

    Thank you
    Graham

    Hi Graham,

    In the Studio, you can change the size of the max instance by going to the project Navigator-> right mouse tab by clicking on the project->, click 'Preferences of engine'-> with the 'Engine' category selected in the upper left corner click on the tab 'Advanced' in the upper middle part of the dialog box-> change the value in the field 'maximum size of the Instance.

    There is a similar setting on the company, you need to change before starting the deployment of the project for this.

    You will get a warning message if you did too big ("the amount of memory used to store the instance in memory (maximum size of instance * cache size) must be less than half the maximum JVM heap size"). If you see this error, remove your calculator and click on the 'Détails' tab (to the right of the "Advanced" tab "you clicked right on"). Note the "Maximum JVM Heap Size" (usually 256 MB). For example, if you change the size of the instance in the "Advanced" tab from 16 KB to 32 KB, you can change the setting of "Cache of Instances" of 5000 to 2500.

    Hope this helps,
    Dan

  • Instead of creating multiple Instances, I want to create a single Instance.

    Hello world

    Hello how are you.

    I have a requirement to transfer files from one place to another place, I am able to do this successfully by using FTP adapters.

    I have a few questions please help someone.

    (1) when I deployed my process it will create a forum for the transfer of a single file, suppose if I have 50 files in my Get
    Create directory after deployment of the 50 instances process and 50 email generating files saying are not tranfered successfully.
    Instead of creating 50 Instances, I want to create a single Instance.

    (2) when the files are not transferd will trigger error messages saying that no success (I want to display the names of files (not tranfered files) in my mail, IE, whatever files are not tranfered, need to diplay by post).

    (3) and I am not able to transfer files with size 0, but in Instance of Console BPEL is create for 0 size file also and I get Email to succeed... and in the updated directory 0 file size does not appear. (Instance creates and come to success Email but the file is not exist in the directory of Put)

    Please help me.

    Concerning
    Vincent

    Published by: user10263255 on October 1st, 2008 08:10

    Published by: user10263255 on October 1st, 2008 09:15

    Vnkat,

    Use this one:

    http://orasoa.blogspot.com/2007/05/create-singleton-process.html

    Thank you best regards &,.
    Diakité

  • Apex showing Buddhist year (Thai)

    Hello

    I'm trying to migrate my application at the Apex. The problem is, I can't find a way to display the component 'year' in the column 'Date' as Buddhist year (B.E.). The Bhuddist year is simply the Gregorian year + 543, e.g. 2011 is 2554 in this system.

    I have looked on the setting of globalization, but could not find anything related to the culture setting...

    Is it possible to add quietly 543 in the component 'year' just before be displayed to the user? And subtract 543 of the entrance, just before it is saved in the database?

    Thank you very much!

    >
    I'm trying to migrate my application at the Apex. The problem is, I can't find a way to display the component 'year' in the column 'Date' as Buddhist year (B.E.). The Bhuddist year is simply the Gregorian year + 543, e.g. 2011 is 2554 in this system.

    I looked on the setting of globalization but could not find anything related to the setting of culture
    >

    You want to set the main language of the application in any way is appropriate for your application, but as you say, it doesn't seem to be a way to directly specify the calendar system in the settings of the globalization of the APEX. Until someone with more knowledge globalization that Andy or I pick it up, affecting the calendar using ALTER SESSION system works.

    You can use an Application process that runs to what precedes on login

    It will not work as on the new app Instance processes run only once per session of the APEX, so this will only change the data session needed for the initial connection used, and when the page views using another connection in the pool that their calendar settings have been changed. The best place for code that must be executed for each connection to the database is in the security of private virtual database (DPV) attribute (Home > Application Builder > Application > shared components > change the security attributes):

    begin
      execute immediate 'alter session set nls_calendar=''Thai Buddha''';
    end;
    

    However, this gives me problems: I keep getting disconnected from the APEX Builder! I suspect that changing this setting on a database using the calendar Gregorian/UK NLS params is confusing session timeouts somewhere...

    So if your database is not configured to work with the thai Buddha calendar, it may be more prudent to change the session for the duration of the page only show submit and reset subsequently. Try to use enforcement procedures at points of execution on load: before header and on submit: after presentation Page - before the calculations and Validation to set the thai calendar and On Load: after Footer (footer template) and on submit: after presentation Page - after calculations and Validations to reset Gregorian?

  • Unable to connect the SQL Developer PDB

    Hello

    I am unable to connect to my pdb1 for SQL Developer.

    Oracle@Solaris:~$ lsnrctl status

    LSNRCTL for Solaris: Version 12.1.0.2.0 - Production on 4 January 2016 13:50:37

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

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

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

    Alias LISTENER

    For Solaris TNSLSNR version: Version 12.1.0.2.0 - Production

    Start date 4 January 2016 10:57:08

    Uptime 0 days 2 h 53 min 29 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/12.1.0/grid/network/admin/listener.ora file

    The listener log file /U01/app/grid/diag/tnslsnr/Solaris/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=solaris) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service 'cdb01' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service 'cdb01XDB' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service "Pdb1" has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    Oracle@Solaris:~$

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Type of connection is that fundamental role is SYSDBA

    But I can connect to my CBD01 of SQL Developer.

    //

    Thank you

    Christophe

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    As another reviewer said Oracle 12 c requires SERVICE_NAME and no SID to connect to the PDB files.

    http://www.Oracle.com/technetwork/articles/database/multitenant-part1-PDBs-2193987.html

    What is a database of the container

    So, what is the big advantage in this configuration, you may ask? Couldn't we have just created several ordinary vanilla instead of several PDB databases? Yes, we could have; but each of these 'plain vanilla' databases would have then his own load of instance (process and memory). PDB do not have an instance associated with them, eliminating this overload. Let's look at the installer with an example. Suppose you have a CBD (database container - the real database that hosts the other PDB files) called CONA, who has a calledPDB1 of the PDB. If you check the Oracle instance, you will see that there is one - that of the CBD. First, let's check the ORACLE_SID:

    [oracle@prosrv1 ~]$ echo $ORACLE_SID CONA
    

    That's all. There is only a single SID; not one for each PDB. Then we will check the process, especially very important that known as 'pmon ":

    See this last sentence above? See this line in the status of listening port you have posted?

    Service "Pdb1" has 1 instance (s).

    Pdb1 has a 'service' - a SERVICE_NAME allows to connect to him and all other PDB files.

  • Insert parallel use

    What does that last statement?  It is as if the query is executed without any evidence.

    doc Oracle:

    Using the parallel execution

    Examples of parallelization of Distributed Transaction

    This section contains several examples of distributed transaction processing.

    Example 1 Distributed Transaction parallelization

    In this example, the DML queries a remote object:

    INSERT /* APPEND PARALLEL (t3,2) */ INTO t3 SELECT * FROM t4@dblink;  

    The query operation is executed serially without notification, because it refers to a remote object.

    UPDATE: this comment is nonsense - see more of the two comments.

    I think the manual is misleading.

    The Insert CAN run in parallel and can be more effective for parallel execution, since two slaves PX can write to disk twice as quickly in one sitting, notwithstanding the fact that the QC distribute data to the PXs. The select statement must serialize the data link-, but the query sent to the remote database could still be parallel to the remote database.

    Here's some output showing the insert might do are parallel, in the way (10.2.0.4 rather than manual 9.2.0.x referenced the OP):

    SQL > insert / * + append parallel (t2, 2) * / into t2 select * from t1;

    66312 lines were created.

    SQL > start pq_tqstat;

    DFO_NUMBER TQ_ID SERVER_TYPE INSTANCE PROCESS NUM_ROWS BYTES EXPECTED DELAYS AVG_LATENCY
    ---------- ---------- --------------- -------- --------------- ---------- ---------- ---------- ---------- -----------
    1 0 1 QC 66312 6548488 producer 0 0 0
    Consumption 1 P000 33156 3274244 54 51 0
    1 P001 33156 3274244 53 50 0

    1 producer P000 1 107 1379 618 1 0
    1311 107 1 614 P001 1 0
    Consumption 1 QC 2 214 16 4 0

    6 selected lines.

    The pq_tqstat script is just a call for formatting of v$ pq_tqstat - parallel work. Notebook of the Oracle

    Concerning

    Jonathan Lewis

  • Validate if ASM file is in use

    Is there a way to validate if an ASM file is used by the database? As the old fuser...?

    Thank you.

    Hello

    If you are using Grid Infrastructure 11.2

    You can use the asmcmd commands
    Check:

    $ asmcmd help lsof
            lsof
    
            Lists the open files of the local clients.
    
            lsof [--suppressheader] {-G diskgroup|--dbname db| -C instance}
    
            The options for the lsof command are described below.
    
            --suppressheader - Suppresses column headings.
            -G diskgroup     - List files only from this specified disk group.
            --dbname db      - List files only from this specified database.
            -C instance      - List files only from this specified instance.
    
            The following are examples of the lsof command. The first example lists
            the open files for the data disk group. The second example lists the
            open files for the Oracle ASM instance.
    
    ASMCMD [+] > lsof -G data
    DB_Name  Instance_Name  Path
    orcl     orcl           +data/orcl/controlfile/current.260.691577263
    orcl     orcl           +data/orcl/datafile/example.265.691577295
    orcl     orcl           +data/orcl/datafile/sysaux.257.691577149
    orcl     orcl           +data/orcl/datafile/system.256.691577149
    orcl     orcl           +data/orcl/datafile/undotbs1.258.691577151
    orcl     orcl           +data/orcl/datafile/users.259.691577151
    orcl     orcl           +data/orcl/onlinelog/group_1.261.691577267
    orcl     orcl           +data/orcl/onlinelog/group_2.262.691577271
    orcl     orcl           +data/orcl/onlinelog/group_3.263.691577275
    orcl     orcl           +data/orcl/tempfile/temp.264.691577287
    
    ASMCMD [+] > lsof -C +ASM
    DB_Name  Instance_Name  Path
    asmvol   +ASM           +data/VOLUME1.271.679226013
    asmvol   +ASM           +data/VOLUME2.272.679227351
    
    $ asmcmd help lsod
            lsod
    
            Lists the open ASM disks.
    
            lsod [-G diskgroup] [--suppressheader] [--process process] [pattern]
    
            The options for the lsod command are described below.
    
            -G diskgroup    - Specifies the disk group that contains the open disks.
            --suppressheader        - Suppresses column header information from the output.
            --process - Specifies a pattern to filter the list of processes.
            pattern - Specifies a pattern to filter the list of disks.
    
            The rebalance operation (RBAL) opens a disk both globally and
            locally so the same disk may be listed twice in the output for
            the RBAL process.
    
            The following are examples of the lsod command. The first example lists
            the open devices associated with the DATA disk group and the LGWR
            process. The second example lists the open devices associated with
            the LGWR process for disks that match the diska pattern.
    
            ASMCMD [+] > lsod -G DATA --process LGWR
            Instance Process                  OSPID Path
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska1
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska2
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska3
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diskb1
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diskb2
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diskb3
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diskd1
    
            ASMCMD [+] > lsod --process LGWR diska
            Instance Process                  OSPID Path
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska1
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska2
            1        oracle@dadvmn0652 (LGWR) 26593 /devices/diska3
    

    Kind regards
    Levi Pereira

  • Setting of RAC SESSIONS

    We have a node 4 CARS running 10.2.0.4 on Linux (with Oracle Clusterware and ASM) and with the following settings on the instance:
    process = 400
    sessions is 445 (default).

    And we got ORA-00018 with number of processes about 340-instance.
    What would be the right setting for the parameter of sessions? The default seems wrong. I can't find anything in the Oracle documentation or MOS on SESSIONS in the CARS.

    Thank you.

    Hi Forstmann,

    "If we increase the PROCESS, we check the setting of the OS kernel as ' max user process ' but if we increase only the parameters of SESSIONS we need also to increase the OS kernel 'process user max?"

    Max user process: this function allows to control the number of processes a user existing on the server may be allowed to have on the BONE.

    The short answer is: Increasing SESSIONS, you must increase PROCESSES and PROCESS increases, you should check the setting of the operating system kernel.

    It is common, there is a relationship between CONNECTION-> SESSION-> PROCESS, but is not a rule.

    It is easier explained in practice than in theory.

    So, see this example:

    {code}

    ##################################
    # Get the process started at this time:
    $ date
    Sat 16 Apr 13:14:44 BRT 2011

    $ ps - ef | grep LOCAL | grep 13. grep v - grep

    # Nothing here...

    # Then run sqlplus

    sqlplus/nolog
    SQL * more: version 10.2.0.5.0 - Production on sat Apr 16 13:14:53 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    SQL > home

    # Check if there are processes
    $ ps - ef | grep LOCAL | grep 13. grep v - grep
    output of $

    # Notting yet...

    # If we're going to connect to the database

    SQL > conn system/oracle@db10g2
    Connected.
    SQL > select sysdate to double;

    SYSDATE
    ---------
    16 APR 11

    SQL > home

    # Now, I must have a session and a process

    $ ps - ef | grep LOCAL | grep 13. grep v - grep
    Oracle 31689 1 7 13:15? 00:00:00 oracledb10g2 (LOCAL = NO)

    # I have an Oracle process and the session in a single process on OS

    # Allows you to disconnect and check if there are processes...
    SQL > disconnect
    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.5.0 - Production
    With the partitioning, Real Application Clusters, OLAP, data mining
    and Real Application Testing options

    SQL > select sysdate to double;
    SP2-0640: not connected

    SQL > home

    $ ps - ef | grep LOCAL | grep 13. grep v - grep
    Oracle 31689 1 1 13:15? 00:00:00 oracledb10g2 (LOCAL = NO)

    # If I still have my approach, but no session, I have a connection.
    # Using this connection, I'll connect on db10g1
    SQL > conn system/oracle@db10g1
    Connected.
    SQL > home

    $ ps - ef | grep LOCAL | grep 13. grep v - grep

    # My process no longer exists because I lost the connection with db10g2.
    {code}

    The concept above shows the relationship between process and session, but the process of setting are related to many other resources such as Sessions, jobs, parallel queries and so on.

    I understand that the recursive sessions are based on the same process: is it true?

    Yes... The Oracle documentation explains that the value for sessions must be greater than the value of process allowing recursive sessions. It's average Oracle use same method for recursive sessions.

    Kind regards
    Levi Pereira

  • provision a group

    Hello
    How to set up a resource with process information using a java program?
    Resource does not have a form of resource.

    Thank you

    To set up a group in OID directly, you can use following the API of oim
    1 get the instance of the factory
    tcUtilityFactory oimUtilityFactory = new tcUtilityFactory (env, moSig);
    1 get the key of the Organization
    tcOrganizationOperationsIntf orgOpInterface = (tcOrganizationOperationsIntf) oimUtilityFactory.getUtility ("Thor.API.Operations.tcOrganizationOperationsIntf");
    HashMap orgReq = new HashMap();
    orgReq.put ("The Organizations.Organization name", "Organization name");
    tcResultSet tcResultDetails = (orgReq) orgOpInterface.findOrganizations;
    organizationKey = tcResultDetails.getLongValue ("Organizations.Key");

    2 get the key of the resource object
    tcObjectOperationsIntf oimObjectInterface = (tcObjectOperationsIntf) oimUtilityFactory.getUtility ("Thor.API.Operations.tcObjectOperationsIntf");
    long [] arr = new long [1];
    arr [0] = organizationKey;
    tcResultDetails = oimObjectInterface.findProvisionableObjectsForOrganizations (arr);
    long provisionObjectKey = - 1;
    + / / Get the key of the resource object to be put into service.
    for (int i = 0; i+) {+
    tcResultDetails.goToRow (i);
    If ('OID Group'.equalsIgnoreCase (tcResultDetails.getStringValue ("Objects.Name")))
    +{+
    provisionObjectKey = tcResultDetails.getLongValue ("Objects.Key");
    break;
    +}+
    +}+

    3. the amount of resources
    long objectInstanceKey = orgOpInterface.provisionObject(organizationKey,provisionObjectKey);

    4 get the key of the process instance
    tcResultDetails = orgOpInterface.getObjects (organizationKey);
    long processInstanceKey = - 1;
    for (int i = 0; i+) {+
    tcResultDetails.goToRow (i);
    If (objectInstanceKey is tcResultDetails.getLongValue ("Organization-Object Instance - process Instance.Key"))
    +{+
    processInstanceKey = tcResultDetails.getLongValue ("process Instance.Key");
    +}+
    +}+

    5. set the process shape
    tcFormInstanceOperationsIntf oimFormUtility = (tcFormInstanceOperationsIntf) oimUtilityFactory.getUtility ("Thor.API.Operations.tcFormInstanceOperationsIntf");
    HashMap groupDetails = new HashMap();
    + / / fill hashmap with all required values to form of OID group process +.
    oimFormUtility.setProcessFormData (processInstanceKey, groupDetails);

    Hope this helps,
    Sagar

  • Several assignments

    Hello

    We design BPM workflows for the project where control standard role-based access may not be enough. After having explored the parametric role, it seems that they do not cover all our use case is. Is there a way to send activity to the inboxes of a certain group of people? Accurate participants who should be notified are determined dynamically, but there may be more than one person (usually "belonging" to a single role, they are only a subset of all users 'in' this role).

    Parametric roles resembled a correct answer, but they require a predefined structure (stored in a database or a directory). Maintaining such a structure and keep in step with our database of the company or even frequently change rules seems to be a huge task.

    Here is an example of what we do:
    A "Claimant" user starts an instance of BPM process and specifies a vendor number on a registration form. Provider number is stored in an instance var. based on the location of a supplier (and sometimes other variables within the instance process BPM and outside), the system must notify a group of people (area administrators) about this new element. Because the calculation is not simple, we can just create a parametric role structure where each co-ordinator of the region would have numbers of provider as parameters.

    The ideal solution to this problem would be a possibility to call setNextParticipant() with a list of people to prevent. Is there something that can effectively replace that? (Oracle BPM 10.3.1).

    Thank you in advance,
    Igor

    Published by: igorbunov on September 30, 2009 12:47

    Hi Igor,.

    I agree with you about the parametric roles. What you're doing could be done using parametric roles, there is another approach.

    If you had a role with all participants assigned, you could:

    1 create an activity which creates a copy of the work item instance and assigns it using next.participant to all correct participants.
    2. as soon as it leaves the Multiple, the copies of the work item instance would go to an Interactive activity in the "everyone" role. Only participants who are assigned to a copy inside the activity of several would see now the instance.
    3. join of Multiple activity might make sense like this:

    this = copy
    action = RELEASE
    

    This logic would set the variables that are modified by the participant. The 'action = EXIT' logic does two things. Only, it allows a participant to pronounce on their copy and causes copies in the inboxes of the other participant should be deleted.

    Hope this helps,
    Dan

  • Several split with dynamic allocation of the participant

    Hello

    I'm trying to implement a "vote" use case, where only the first vote matters. There may be many voters and they are determined at the time of execution.

    Here's what I'm trying to achieve:
    1. only the voters selected the chance to see the task in their work space
    2. when a voter completes the task, the task is deleted workspaces of other voters

    Not sure if I'm on the right track, but here's what you looking for. The process is as follows:
      Begin -> Request Interactive Activity (Requestor role) -> 
             Multiple Split Gateway -> Vote Interactive Activity (Voter) -> Join -> End
    The multiple entry door code probably does the split:
    logMessage "Started multiple split for " + this
    for i in 0..(length(request.voters)-1) do
         voterName as String = request.voters[i]
         voter as Fuego.Lib.Participant = Participant.find(name : voterName)
         
         copy as ProcessInstance // avoid creating extra copies
         if (i = 0) then
              copy = this
         else
              copy = clone(this)
         end
         copy.participant.next = voter
         logMessage "assigned " + copy + " to " + copy.participant.next
    end
    logMessage "Completed multiple split for " + this
    Started multiple split for TestSplit.Process.Default_1_0.Instance@2edfcb
    assigned TestSplit.Process.Default_1_0.Instance@2edfcb to Participant(Test)
    assigned TestSplit.Process.Default_1_0.Instance@1f2ebae to Participant(Nick)
    Completed multiple split for TestSplit.Process.Default_1_0.Instance@2edfcb
    Thus, it seems that process instances are created and the participants are assigned. However, in the workspace when the activity of the application is completed, process instances just to go to the final State, w.o. never have a chance to invoke the credit activity. Any help to what I'm doing wrong is greatly appreciated.

    Also, what would be the best way to destroy a cloned instance process after the first voter votes?

    Hi Nick,

    I got a little confused (my fault - not yours).

    I think you are trying to use the multiple activity to assign all "voters" in your table for a copy of instances of work item that everyone can potentially run on the Interactive activity following the activity of several. If this is the case, try changing your logic slightly recovered to:

    // This is the logic inside your Multiple activity
    voter as Fuego.Lib.Participant
    for i in 0..(length(request.voters)-1) do
         voterName as String = request.voters[i]
         voter = Participant.find(name : voterName)
    
         copy = clone(this)
         copy.participant.next = voter
         logMessage "assigned " + copy + " to " + copy.participant.next.name
    end
    

    If you just want only the first vote count, to remove the other copies of the process and to move the past the Multiple join original work item instance, add logic to your activity of join:

    action = RELEASE
    

    Hope this helps,
    Dan

Maybe you are looking for

  • I have problems with not displaying pop-ups do not and or video.

    Since the update to El Capitan on my Macbook Air early 2015, I experienced problems with some pop-up windows is not displayed and the video content. The sites vary from one to another. I have Adobe Flash Player, the two NPAPI and PPAPI and Adobe Shoc

  • AppleScript - creat a folder, subfolders and fill it with the sample image

    Please help me to achieve this goal, no doubt, simple goal. I did only a very small amount of applescripting before and always slaughtered other scripts of resources available online but am having hard to identify ways to achieve this. I would like t

  • Why won't my home page to the default?

    For some reason my home page is Google, but I want it to be simply the default Start Page of Mozilla. Whenever I have change to default that it goes back to Google. It does not have the default home page, which is what I want.

  • Page "save under" appears when I try to print from Firefox

    When I use my Verizon DSL and Firefox (this doesn't happen if I use Explorer int.) and I wish to print information from the internet, I do a Ctl P for print. Instead of print, I get a page "save under" I can not help to appear. The page includes: "sa

  • Photo Sharing corrupts perfectly good images.

    I was excited to try the new photo, photo sharing (and iCloud, I believe). However, I shared our 140 photo wedding album. It is not only by slow glaciers, it also damaged at least three images (so far, about 20 downloaded). Photos are in the applicat