How to assign Activity to Participant with less assigned Instances??

Hi!
I'm trying to automatically assign the next Interactive Activity to the participant who has less assigned instances.
I already know how to get a list of the participants who have the corresponding role, but I don't know how to get the number of assigned instances of a determined process that each participant has.
Any ideas?? Thanks in advance!

OK, I finally managed to do it :^O
I get all participants with the Role "Iniciador", then get how many instances of the process they have assigned. And finally I send this instance to the participant with less work.
logMessage("AutoAssign - Entering...");
DirectorySession dirSession = DirectorySession.currentEngineSession;
DirOrganizationalRole role = DirOrganizationalRole.fetch(session : dirSession, id : "Iniciador");
Fuego.Fdi.DirHumanParticipant[] participants = role.fetchAssignedParticipants();
BusinessProcess.connectTo(url : Fuego.Server.directoryURL, user : "redscare", password : "redscare", process : activity.process.name);
String nombre="";
int c=0;
logMessage("AutoAssign - Entering foreach");
foreach (element in participants) {
     filtro = InstanceFilter();
     filtro.create(processService : BusinessProcess.processService);
     filtro.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
     filtro.addAttributeTo(variable : VarDefinition.PARTICIPANT_ID, comparator : Comparison.IS, value : element.id);
     instances = BusinessProcess.getInstancesByFilter(filter : filtro);
     if(nombre=="" || instances.length()<c){
          nombre=element.id;
          c=instances.length();
logMessage("AutoAssign - Exiting foreach");
participant.next = Participant.find(name : nombre);
participant.sticky = true;
logMessage("AutoAssign - Exit. Participant.next= "+participant.next.name);

Similar Messages

  • TS3694 How can I active iphone 3G WITH ERROR 1015

    How can i active iphone 3g with error 1015?

    A 1015 error usually indicates that the iPhone has been jailbroken. Has yours? If so, we can provide no help with jailbroken iPhone in these forums, so you will have to look elsewhere for assistance.
    Regards.

  • How to undo activated OSB session with WLST?

    Does anybody know if there´s a chance to undo an activated OSB session with WLST?
    There´s a way to undo an UNactivated session but not an activated one (like the undo session in /sbconsole).
    Thanks in advance.
    Edited by: 956378 on 31-ago-2012 12:48

    "zone copy active-zoneset full-zoneset vsan 2" is the correct command.  It will overwrite the full zoneset (identical) and ready to edit.

  • How to get activity and participant of next interactive activity

    I am trying to get the activity name and participants of the next activity of the current activity.
    How to do that?
    Should I use PAPI or PBL?

    Examples of this approach:
    select min(cloth_size_2) min_size
         , max(cloth_size_2) max_size
      from (select case when cloth_size = 'XS' then 1
                        when cloth_size = 'S' then 2
                        when cloth_size = 'M' then 3
                        when cloth_size = 'L' then 4
                        when cloth_size = 'XL' then 5
                        when cloth_size = 'XXL' then 6
                   end as cloth_size_2
              from your_table);
    <br>
    select min(cloth_size_2) min_size
         , max(cloth_size_2) max_size
      from (select decode(cloth_size
                         , 'XS', 1
                         , 'S', 2
                         , 'M', 3
                         , 'L', 4
                         , 'XL', 5
                         , 'XXL', 6) cloth_size_2
              from your_table);

  • How to configure Active Directory LADP with WLS 8.1

    Hi
    somebody help me configure LDAP Active Directory with BEA WebLogic 8.1
    I can't understand what i should do.
    ThanX

    WLS 8.1 sp1 has couple of issues with Active Directory. You need to get fixes from
    BEA. sp2 is supposed to have these fixes included.
    Anant
    "Neil" <Neil-reply-in-newsgroup> wrote:
    This seems strange. I would make sure your installation is correct
    (particularly the lib/mbeantypes directory). If that is correct, I would
    test it with a new domain created with the domain configuration wizard
    to
    rule out any strange configuration possibilities. If both of those fail,
    I'd
    file a support case.
    - Neil
    "Max" <[email protected]> wrote in message
    news:[email protected]...
    Jay Zimmett <[email protected]> wrote:
    Read this:
    http://edocs.bea.com/wls/docs81/secmanage/providers.html#1172008
    Max KUlinich wrote:
    Hi
    somebody help me configure LDAP Active Directory with BEA WebLogic8.1
    I can't understand what i should do.
    ThanX
    I try do this but no god results. I get this exeption :
    java.lang.reflect.InvocationTargetException
    atweblogic.security.providers.authentication.LDAPAtnDelegate$LDAPFactory.newIn
    stance(LDAPAtnDelegate.java:3129)
    at weblogic.security.utils.Pool.getInstance(Pool.java:57)
    atweblogic.security.providers.authentication.LDAPAtnDelegate.getConnection(LDA
    PAtnDelegate.java:2646)
    atweblogic.security.providers.authentication.LDAPAtnDelegate.listUsers(LDAPAtn
    Delegate.java:1814)
    atweblogic.security.providers.authentication.LDAPAuthenticatorImpl.listUsers(L
    DAPAuthenticatorImpl.java:167)
    at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
    atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    atjavax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.jav
    a:1304)
    atweblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:464)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
    mpl.java:765)
    atweblogic.management.console.utils.Security.getUserList(Security.java:1436)
    atweblogic.management.console.actions.security.ListUsersAction.updateContents(
    ListUsersAction.java:56)
    atweblogic.management.console.actions.security.ListLWSecurityAction.getContent
    s(ListLWSecurityAction.java:85)
    atweblogic.management.console.tags.security.LWTableTag.getRowData(LWTableTag.j
    ava:462)
    atweblogic.management.console.tags.security.LWTableTag.printTable(LWTableTag.j
    ava:141)
    atweblogic.management.console.tags.security.LWTableTag.doEndTag(LWTableTag.jav
    a:133)
    atweblogic.management.console.webapp._security.__usertable._jspService(__usert
    able.java:327)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
    patcherImpl.java:382)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:286)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:151)
    atweblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
    :35)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:173)
    atweblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
    et.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6310)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3622)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: netscape.ldap.LDAPException: error result (49); 80090308:LdapErr:
    DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece;Invalid credentials
    at netscape.ldap.LDAPConnection.checkMsg(LDAPConnection.java:4852)
    at netscape.ldap.LDAPConnection.internalBind(LDAPConnection.java:1757)
    at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1294)
    at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1303)
    at netscape.ldap.LDAPConnection.bind(LDAPConnection.java:1613)
    atweblogic.security.providers.authentication.LDAPAtnDelegate$LDAPFactory.newIn
    stance(LDAPAtnDelegate.java:3108)
    ... 43 more

  • How can i active my iphones with one app id and using find my iphone apps

    hi
    i want to register 2 iphones with one app id ,and using find my iphone apps in my iphones ,
    how can i do it ?
    please help me

    this will not work for "find my iPhone".  It is always a good idea to have two seperate Apple ID's anyway

  • How to assign instances within an OU?

    Hi,
    I have two OU's as follows:
    OU1
    |
    +-Sales_1
    |
    +-Infrastructure_1
    OU2
    |
    +-Sales_2
    |
    +-Infrastructure_2
    Right now if a Sales_1 participant generates an instance, both, Infrastructure_1 and 2 can see the instance in their inbox.
    What i need is: if the Sales_1 participant generates an instance, this instance must be only in the Infrastructure_1 participant's Inbox, and the same behavior if the instance is created by Sales_2 -Infrastructure_2. Is it possible to do this?
    Regards!!

    Hi,
         Essentially, the access to business process is determined by these 2 artifacts: OU and roles.
         For a person to have access to an activity in a process, this participant should belong to the Organizational Unit in which the process has been deployed as well as having the right roles assigned to him/her.
         In the event of a process connecting to a sub-process, the instance will be created without any problem even when the main process and sub-processes are deployed to different Organizational Units. The only problem may be that if the sub-process is deployed to a different Organizational Units, it will ONLY be visible by participants in the sub-process Ous and with the right roles assigned.
              eduardoc.

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • How can we achive active/active cluster setup with Oracle

    Hi Experts,
    How can we achieve active/active database setup with oracle WITHOUT USING RAC.. As far as I know it's impossible (unless I'm wrong)..
    We are using Oracle 11.2.0.1 64bit on Windows 2008 server. We deployed Oracle FailSafe but that's more of an active/passive solution based on a windows cluster.
    The other solution we were thinking about is to use DataGuard and replication.. two servers.. the oracle instance running on one server generating logs, and the other server receive the logs and apply them to the physical standby db.. Still, this is not a real active/active setup.
    So, is it possible to run 2 servers in an active/active cluster and have the oracle database in an active/active setup or have the instance running on multiple nodes (at the same time)?
    Thanks

    Let me give you a brief explanation of what the situation is and you can be the judge..
    My client have four databases with the smallest one being 20GB and the biggest around the 35gb (SGA 750mb to 1.4gb (Tiny by DB standards) and probably on a normal day, you can run all four of them on a decent desktop).. The DBs are used to keep track of people information. Through out the year, the databases are almost sitting idle, and by idle I mean, the odd update here and there, the odd report..etc. No hard real processing of any sort. Two days of the year (end of year) we have all the operators consolidating records and what's not and they will be pounding away entering data and updating the tables - with hourly reports that goes to 3rd parties. The client expects a 99.99 up time and availability during those 2 days.
    Now, tell me, How can I justify using RAC and spending hundreds of thousands of dollars in licensing and what ever extra costs introduced by the complexity of the environment for the above scenario knowing that I don't have any real use for RAC for 363 days of the year; and we MIGHT need it for 2 days of the year? This is the dilemma we're facing.
    Thanks
    Edited by: rsar001 on Sep 3, 2010 9:42 AM

  • How to assign a variable value to crystal report viewer formula with CR2008

    Hi ,
    I am using crystal reports 2008 and i am not able to find how to assign  variable value  to crystal report viewer formula.
    In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
                                             crystalreport1.Formulas(1) = variable2
    but, i don't find similar kind  in crystal reports 2008.
    How can i achieve the same functionality using crystal reports 2008.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    Can i anyone help me out with this.
    I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
    CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
    CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
    CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
    Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
    Any code snippet would be of great Help.
    Thanks in Adnvance.
    Ramnath

  • I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I alocate th

    I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.

    Still in the same location:
    File > Get Info > Open with (select) > Change All (button)

  • How to assign function module with process code in IDOC ?

    how to assign function module with process code in IDOC ? and what code i have to write in that function module for custom IDOC ?
    helpful answer will be rewarded?

    Hi,
    First goto transaction we42 -->editing mode --> new entries -->give name of your process code and description --> processing with alv service and function module -->then press enter -->after that enter the name of the function module you want to associate from the drop down and save it.
    Thats the way to assign function module with process code.
    In that process code we will have the Function modules and Bapi's which will take the data which we are sending through IDOC and then process it.
    for example: i am triggering the IDOC for every purchase order created then this process code in the receiver system will take the data which i have enetered in the sender system to create the purchase order and process it and creates the same purchase order in the receiver's system.
    Reward if helpful.
    with regards,
    Syed

  • How to assign task to others with an attachment?

    Hi All,
    How to assign task to other with an attachment and field values in the actual InfoPath form?
    In detail, If a InfoPath form has submitted then task should be assigned to a person with an attachment and some field values which are present in InfoPath form.
    How to achieve this scenario?
    Thanks in advance!

    What you describe is a simple approval workflow. SharePoint comes with approval workflows out of the box. 
    When a task is created to approve an item, it does not need to have the attachment that is already in the item. The task will contain a link to the item that needs to be approved, so there is no need to duplicate the file attachment. 
    You may want to read a bit more about the out of the box approval workflows in SharePoint. Start here:  
    Understand approval workflows in SharePoint 2010
    cheers, teylyn

  • How to assign resource (not personel resource) to Activity/WBS/Network

    Hi,
    can anybody show me how to assign resources (not personel resource) to Activity/WBS/Network, how to plan/manage resources in PS
    Thank you
    Long

    Hi,
    Resource Planning will work in Project in two methods.
    1.work center:
    In work center we will assign resources such as machines etc to execute the Projects
    2. Workforce Planning:
    In work force planing resource assignment to network activity will happen. Project Team will be assigned to WBSE. Capacity planning / levelling will happen through this functionality.
    Refer the below URL to know more details of resource planing in projects
    http://help.sap.com/erp2005_ehp_02/helpdata/en/ed/b7853488601e33e10000009b38f83b/frameset.htm
    Hope this will help you.
    Regards,
    Rakesh Pradhan

  • HOW TO ASSIGN MCSI REPORT WITH MC93

    Dear Gurus
    in my company, we have created on infostructure for MCSI report. the data is being populated and the report can also be seen.
    But now, i want to put planned quantity/material for this infostructure through MC93, so that i can compare the actual sales with planned sales.
    would you please advice me how to assign the infosturcuture with MC93 to put the planned quantity/target.
    thank you
    shabbir
    Edited by: ashabbir on May 25, 2010 11:08 AM

    Hello Shabbir
    1) First create 'PLANNING hierarchy' using T code MC61. Specify the custom infostructure and do not enter any characteristics in the next scree. In  the next screen enter the pan data level by level for all characteristics.
    2) Now get into MC93 to create planning. Enter your custom infostructure in the opening screen for 'Planning Type'. Enter the characteristics as needed and click enter. Enter the plan data in the next screen and save the version.
    3) Now use MCSI with your custom infostructure and when the standard Analysis: Basic list is displayed, go via menu option Edit/Comparisons/Planned/Actual to see the comparison.
    Hope this helps.

Maybe you are looking for