Interactive activity with multiple transitions

I use BPM standalone and studio 10g. I create a business rule transition after an interactive activity. This activity also has an unconditional transition. If the amount is greater than 100, the process instance should go to the business rule transition.
However, in the real running process, if I set the amount is greater than 100, workspace will list 2 transitions (business rule transition and unconditional transition) path and let the user to select one.
If I set the amount to less than 100 (such as 10, 20), workspace just shows the unconditional transition.

Hi Ye,
Eduardo brings up a good point. When you have multiple Conditional transitions leaving an activity, you can specify the order in which you want them to be evaluated by right mouse clicking the originating activity -> "Conditional transitions order". This is helpful because, even though several conditional transitions can evaluate as true coming out of a single activity - you still only want the work item instance to flow out of the activity via one of them.
It would be good if you could do the same thing when you have multiple business rule transitions leaving an activity, but unless this has been fixed on a patch that I'm not currently using - you cannot do this with business rule transitions. Unlike Conditional transitions, when you have multiple business rule transitions coming out of an activity and more than one evaluates as true, you have no control over the sequence you want them to be evaluated.
Guessing you've already done this, but I believe your options are to:
1) Avoid having multiple business rule transitions coming out of a single activity or
2) Do what Eduardo suggests and to make sure that none of the rules overlap (e.g. "amount > 100 && amount < 300") or
3) Do Eduardo's other suggestion and have a cascading list of Conditional activities. Each Conditional activity has one unconditional transition (going to another Conditional activity) and one business rule transition. If the business rule is true, you're done. If it's not true then you continue to the next Conditional activity which also has an unconditional transition (going to another Conditional activity if you have 3 business rule transitions you wanted to evaluate) and a second business rule transition.
Dan

Similar Messages

  • Interactive activity with multiple business rule transitions

    I use BPM standalone and studio 10g. I create two business rules.
    Business rule 1: amount greater than 100.
    Business rule 2: amount greater than 300.
    An interactive activity has two business rule transitions and an unconditional transition. This activity is set to auto complete.
    In an instance, I set the amount is 400. Then, the instance goes business rule 1 transition.
    If I set this interactive activity to user select transition, the workspace lists 2 business rule transitions and let me to select one.

    Hi Ye,
    Eduardo brings up a good point. When you have multiple Conditional transitions leaving an activity, you can specify the order in which you want them to be evaluated by right mouse clicking the originating activity -> "Conditional transitions order". This is helpful because, even though several conditional transitions can evaluate as true coming out of a single activity - you still only want the work item instance to flow out of the activity via one of them.
    It would be good if you could do the same thing when you have multiple business rule transitions leaving an activity, but unless this has been fixed on a patch that I'm not currently using - you cannot do this with business rule transitions. Unlike Conditional transitions, when you have multiple business rule transitions coming out of an activity and more than one evaluates as true, you have no control over the sequence you want them to be evaluated.
    Guessing you've already done this, but I believe your options are to:
    1) Avoid having multiple business rule transitions coming out of a single activity or
    2) Do what Eduardo suggests and to make sure that none of the rules overlap (e.g. "amount > 100 && amount < 300") or
    3) Do Eduardo's other suggestion and have a cascading list of Conditional activities. Each Conditional activity has one unconditional transition (going to another Conditional activity) and one business rule transition. If the business rule is true, you're done. If it's not true then you continue to the next Conditional activity which also has an unconditional transition (going to another Conditional activity if you have 3 business rule transitions you wanted to evaluate) and a second business rule transition.
    Dan

  • How to create Interactive PDF with multiple .mp4 videos– without lagging on playback?

    I'm creating a long document with no real effects-- just a "fade" transition from page to page-- and multiple videos. These videos are all formatted as .mp4s, and I have had no issues with the actual process of getting them embedded and playing back on export.
    My real issue is that the videos are all extremely laggy on playback. Since this is a presentation document, I'd like to know if there are any options for making the playback a bit smoother. Each video, by itself, plays with no issues. Would the combined filesize of all the videos be causing this? There are about eight 30-second videos and one 2-minute video, which makes the filesize quite large.
    Filesize is not an issue, so is there some way to completely embed the videos or create an external folder the PDF document can draw the videos from on playback...? Hopefully I won't be stuck with laggy videos.

    My suspicion is that computer setup has more to do it than anything. How much RAM, whether other apps are loaded, what kind of graphics chip, stuff like that.
    I don't know of a setting, though you can look at the Flash Player settings in Acrobat. There is certainly nothing in InDesign that would affect it.

  • Interactive Report with multiple SQL

    I have an Interactive report that currently show info from 1 query. I want to be able to include info from another query on the report (like a master detail).
    I see it mentioned on the New features that it can now support multiple SQL's. How do you do it?

    Bob,
    Interactive Reports only support 1 query. You can write your query to pull data from multiple tables but only have one query. The new feature you are recalling is the 'Report Queries' now support multiple queries. Report Queries are under Shared Components and are used for custom pdf, excel, etc. printing - different feature.
    -- Sharon

  • Active active with multiple csm in the same 6500

    How can I achieve active/active configuration with csm in a 6500? Can I do it with 2 csm in the same chassis or I need two chassis, each with one csm?

    you can't have active-active setup with CSM.
    The CSM uses only 1 FT group and all vservers are linked to it.
    So once CSM is active and the other one standby.
    If the FT group fails on the active, the standby takes over and it takes a full control - not partial as needed for active-active.
    It does not matter if you have 1 chassis or more.
    The new ACE module offers the possibility to do active-active.
    Gilles.

  • Interactive Report with Null Columns

    I've got a user who wants to export an interactive report, and he needs certain columns to appear on the export for him to fill the data in later (this is an intermediate step, while we work on getting all the data he needs in to the database). I've created the report query, and there are a handful of null/empty columns (to preserve the correct order for the export). When I try to add this query to APEX in an interactive report, I get a "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.
    Googling around shows me that this happens because of similarly-named columns, and the solution is to provide aliases to all columns. My report has aliases on all columns, but I still cannot create an interactive report. I've tried changing the null columns to empty strings, as well as enclosing the aliases in double-quotes, but nothing works. I can however use my original query to create a standard report, but due to the export requirement, this isn't ideal.
    I was able to create the interactive report with one null column, and then edited the report source to add in the others. This had to be done one at a time, since trying to add multiple null columns at the same time gives the same error again. Unfortunately, when I try and run the page, I get an "ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined" error.
    My original query:
    select customer.customer_name as customer,
           project.name as project_name,       
           trunc(project.estimated_end_dt) as due_date,
           project_status.project_status_desc as status,
           null as revenue,
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss,
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost,
           null as projected_gain_loss,
           null as roi      
        from project,
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name,
             project.estimated_end_dt;             Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,
    The problem is likely that you have two columns aliased as "projected_cost" (7th column and 11th column).
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • Global Interactive activity link to be displayed only at instance end

    Hi All,
    I have a requirement where link in right hand side dropdown at instance level should be shown only when instance is completed. For this I am using one global interactive activity with 'has instance access' option checked and also 'read only' option checked. It is visible when instance is completed as well as when alive. I dont want the later part. Could anyone advice?
    Regards,
    Yasmin.

    Yasmin,
    You need to persist your instance variables by inserting them into the database table. And then pull your compleled instances based a known parameter (let say a defined instance id that can be an oracle or sql row id).
    Does this make sense to you?
    Thanks
    badam571
    Edited by: badam571 on Apr 27, 2010 1:30 PM

  • Is Lightroom supported in a Active Directory domain environment with multiple users logging into a machine?

    We are a school district using an Active Directory environment.  We currently use other Adobe products with multiple users on different machines and it works fine.  If Lightroom does work in a domain environment what are the required local user permissions needed for it tor work properly?  Thanks!

    Lightroom is not a multiuser program. It is required that the catalog is located on a hard drive that is local to the machine accessing it. There are no workarounds.

  • How to do provisioning in Active Directory multiple lavel OU structure from FIM 2010 R2 with Country basis.

    Hi,
    I want to do provisioning in Active Directory multiple level Organization Unit(OU) from FIM 2010 R2  with country name basis.
    Suppose i have Asia,Europe,UK,USA region OU and they have another OU in Asia OU like India,china etc if country name is India then Users should be go in India OU and if  if country name is China then Users should be go
    in China OU.so please give me any idea on this this would be very helpful for me
    Regards
    Anil Kumar

     
    Do you have Region attribute in your user object? If yes, then you can do something like this
    "CN="+displayname+
    ",OU="+country+
    ",OU="+region+
    ",DC=mycompany,DC=local"
    If you don’t have region attribute, then you have to write own IIF statement for every county
    IIF(Eq(contry,"China",",OU=China,OU=Asia","")
    You can also parse your dn for synchronization rule in some other place (e.g. metaverse extension), but if you want to do it codeless, IIFs are the way to go.

  • One Activity Number with multiple G/L Account (service procurment)

    Hi Experts,
    We have a problem, we want to create one service activity number (ac03), but we want to use multiple G/L accont . (we want to open one activity number, but we want that it should behave that we have opend several activity number). How can it possible, I know only one G/L can be used for one valuation class and only one valuation class can be maintained in ac03.
    How can I do this.
    Regards
    GR

    Hi,
    For same activity u cannot assign 2 different GL ac, Better U create one more Activity with little difference in Description. & assign the diff val class.
    regds,
    CB

  • Interactive activity deadline without due transitions

    I need to define deadline for all interactive activities. However, I do not want to add due transitions or Connector to every interactive activity. How to set the activity deadline without due transitions?
    Or, I add a due transition / deadline to all interactive activities. If the deadline is reached to any of them, an exception will start.
    Or, if any activity is expired, it should go to a specific activity. How to do that?
    For example, a process has 2 interactive activities, named a1 and a2. The first activity has a method:
    activity as Activity
    activity=Activity("a2")
    t as Time
    t = addSeconds(activity.deadline, i : 20)
    It sets the deadline of a2. However, after it is deployed to BPM standalone 10g, when sending a1, Standalone shows error.
    Sincerely
    Edited by: YE on Jun 5, 2009 4:01 PM

    Hi Ye,
    There is a predefined variable called "deadline" you might want to consider using for this. Instead of having to add due transitions for each activity, if you set the deadline variable to some time in the future, once that time is exceeded the work item instance automatically throws an "InstanceExpiration" exception.
    1) I usually set the deadline variable in the Begin activity in the process to some time in the future. Although you can set it there, it can be changed anywhere in the process if you want the deadline to be different in the next activity. You just need to be sure to set the deadline upstream of the activity.
    2) Add an exception handler to catch the InstanceExpiration exception by:
    a) adding an orphan Interactive activity
    b) if an exception handler does not exist in the process, right mouse click anywhere in the white space of the process -> "Add an exception transition to" -> select the Interactive activity you added in the first step -> click the "Properties" tab -> select the Exception Name combo dropdown and pick "InstanceExpiration" -> click Ok and then Yes.
    c) the logic in the Interactive activity that catches the overdue instances needs at least these statements:
    // reset the deadline so another exception is not immediately thrown
    deadline = 'now' + '2d'
    // code here to do what it is that you want done (e.g. escalate the priority, send someone an email, etc.)
    // now send the instance back to the activity where the deadline expired
    action = BACK Hope this helps,
    Dan

  • Workflow Activity with no Incoming Transition

    What does workflow do when it encounters an Activity with no incoming transitions? I have a massive workflow , somewhere in the middle there is a "reProvision" Activity but nothing transitioned TO it. All transitions are out going.

    In my experience, unless the activitiy is the "start" activity, it won't do anything at all with an activitiy that's not transitioned to. When executed the taskInstance will follow the workflow transitions and bypass the island activity.
    ~ tim

  • Two Due Transitions from tlhe same Interactive Activity

    Hi all,
    I am implementing a process where I need to send a notification to the user two times. One after 2 days to approve the task. Second after 4 days send a user another notification saying that u have not approved the task and therefore the ticket is being closed.
    How do I do this using just one interactive activity?

    Hi,
    You might want to consider using a variable in the Due Transition instead of hard coding '2d' or '4d'. This way you have just the one Due transition leaving the activity and it would timeout based on the interval variable. The interval variable would initially need to be set and then later set again after the first due transition fires.
    hth,
    Dan

  • Process must contain a start activity with no 'in' transitions.

    382: Design Validation generated 1 warning(s). You may save invalid definitions but they should not be used in running process.
    352: Process must contain a start activity with no 'in' transitions.
    What it mean ???

    Does the activity that you have marked as a 'Start' node have any in transitions?
    Does the little green arrow appear on the icon to show that the property has been set correctly?
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Multiple Approvals for an interactive activity

    I have an interactive activity in my workflow. To proceed from this activity i need multiple approvals from different users/participants. The number of users/participants providing approvals are collected dynamically.All the users/participants are in the same role (Approver).
    Also, the participant who approves the activity should not again see the pending item in his inbox but the other users should still be able to see it. For instance, if there are 3 approvals needed of user1,user2 and user3, and user1 approves then the item should now be visible as pending only for user2 and user3.
    Appreciate any help regarding this.

    Hi Dan,
    Thanks for your reply. I did try using the update() method but m still getting the same exception. Below please find the code snippet that i am using. Would be great if you help if me recognize the mistake:-
         private DirectorySession createFDISession() throws AuthenticationException, ProtocolNotSupportedException{
              DirectorySession directorysession = null;
              this.configuration = configure();
              String directoryId = "";
              String fdiPreset = "";
              directoryId = configuration.getProperty(ProcessService.DIRECTORY_ID);
              fdiPreset = configuration.getProperty("FUEGO_FDI_PRESET");
              DirectoryPassport directoryPassport = DirectoryPassport.createWithIDAndPreset(directoryId, fdiPreset);
              directoryPassport.fillPassport();
              directorysession = Directory.startSession(directoryPassport);
              return directorysession;
    public void addUserInFDI(UserVO userVO, List<String> roleMap) throws AuthenticationException, ProtocolNotSupportedException, DirectoryException
              DirectorySession directorysession = null;
              if (userVO != null && userVO.getUserId() != null && !userVO.getUserId().trim().equals(""))
    // create directory session
                   directorysession = this.createFDISession();
                   List<RoleAssignment> roleAssignmentList = new ArrayList<RoleAssignment>();
                   try {
                        for(String role:roleMap)
                        roleAssignmentList.add(getRoleFromString(directorysession, role, "", ""));
                        String organizationUnit = configuration.getProperty("ORGANIZATION_UNIT");
                        String newUserPwd = configuration.getProperty("FUEGO_FDI_NEW_USER_PASSWORD");
                        DirOrganizationalUnit orgUnit = DirOrganizationalUnit.fetch(directorysession,organizationUnit);
                        DirHumanParticipant user = DirHumanParticipant.create(directorysession, userVO.getUserId(), userVO.getFirstName(), userVO.getLastName(),
                                  userVO.getFirstName(), userVO.getEmail(), userVO.getPhone(), "",
                                  newUserPwd, orgUnit,(RoleAssignment[]) roleAssignmentList.toArray(new RoleAssignment[roleAssignmentList.size()]), true);
                        //calling the update function on the created user
    user.update();
                        System.out.println("permission : "+user.getPermissions());
                   finally
                        directorysession.disconnect();
              } else {
                   log.info( "Invalid user's information : " + userVO);
         private RoleAssignment getRoleFromString(DirectorySession directorysession, String roleParamStr, String roleStr, String parameterStr) throws DirectoryException
              RoleAssignment roleAssignment = null;
              roleStr = "";
              parameterStr = "";
              if(roleParamStr.indexOf("||") < 0)
                   roleStr = roleParamStr.trim();
              else
                   ArrayList<String> roleParamList = getArrayList(roleParamStr, "||");
                   if(roleParamList != null)
                        roleStr = roleParamList.size() > 0 ? roleParamList.get(0).trim() : "";
                        parameterStr = roleParamList.size() > 1 ? roleParamList.get(1).trim() : "";
              DirOrganizationalRole dirOrganizationalRole = DirOrganizationalRole.fetch(directorysession, roleStr);
              if (dirOrganizationalRole.isParametric())
                   if (parameterStr == null || parameterStr.equals(""))
                   roleAssignment = new RoleAssignment(dirOrganizationalRole.getId(), parameterStr, 127, 0);
                   roleStr = roleAssignment.role;
                   parameterStr = roleAssignment.parametricValue;
              else
                   roleAssignment = new RoleAssignment(dirOrganizationalRole.getId(), 95, 0);
                   roleStr = roleAssignment.role;
                   parameterStr = null;
              return roleAssignment;
         public ArrayList<String> getArrayList(String inputStr, String delim) {
              ArrayList<String> returnStr = new ArrayList<String>();
              if (inputStr!=null)
                   StringTokenizer strTokens = new StringTokenizer(inputStr, delim);
                   while (strTokens.hasMoreTokens()) {
                        returnStr.add(strTokens.nextToken().trim());
              return returnStr;
         }

Maybe you are looking for

  • How to call the same query more than once with different selection criteria

    Hi, Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data Sales organization XX                      Income 2008  Income

  • I cannot get onto the internet

    I just installed Tiger on my ibook g3. I only have 10 gigs and tiger uses about 5.5, so i wonder if this might be a problem. When i open safari it starts to load, then freezes up, often needing force-quit. firefox just says it cannot load. I can't re

  • Establishing BPM, SOA and Enterprise Architecture and 'Governance'

    Good day all, (Originally posted on LinkedIn Oracle BPM group) (This post can also apply to those implementing SOA and/or Enterprise Architecture) After reviewing Oracle's IT Strategies from Oracle (ITSO) reference library (http://www.oracle.com/tech

  • Using JDialog etc in Fullscreen

    Has anyone had any success using JDialog or any other pop-up type classes in Fullscreen applications? If so, how did you go about it? We're trying to migrate an old swing application to fullscreen and it would be really useful if we didn't have to wr

  • Unbalanced Transaction 5012

    Hi! I am trying to create an AR Invoice through SDK. We've been doing that for 2+ years already and it never failed until yesterday. All of a sudden we got the "5012 Unbalanced Transaction" error in our SDK code when adding the AR invoice (of type SA