Excerpt for Unofficial TIBCO® Business Works™ Interview Questions, Answers, and Explanations: TIBCO Certification Review Questions by Equity Press , available in its entirety at Smashwords


Unofficial TIBCO® Business Works™ Interview Questions, Answers, and

Explanations: TIBCO Certification Review Questions



Equity Press

Compiled by: Terry Sanchez-Clark



TIBCO: Frequently Asked Questions



ISBN: 978-1-60332-316-1



Smashwords Edition



Edited By: Jamie Fisher



Copyright© 2008 Equity Press and ITCOOKBOOK all rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording or otherwise) without either the prior written permission of the publisher or a license permitting restricted copying in the United States or abroad.



The scanning, uploading and distribution of this book via the internet or via any other means without the permission of the publisher is illegal and punishable by law. Please purchase only authorized electronic editions, and do not participate in or encourage piracy of copyrighted materials.



The programs in this book have been included for

instructional value only. They have been tested with

care but are not guaranteed for any particular purpose.



The publisher does not offer any warranties or

representations nor does it accept any liabilities with

respect to the programs.



Trademarks: All trademarks are the property of their respective owners. Equity Press and ITCOOKBOOK are not associated with any product or vendor mentioned in this book.



Please visit our website at www.itcookbook.com



Table of Contents

Introduction

Business Process Management: TIBCO Business Studio

Question 1: Known-Depth Recursion and the XML Mapping Utility

Question 2: Make a text area scrollable but un-editable

Question 3: BPMN support in Business Studio

Question 4: Business Studio is so slow

Question 5: Business Rules

Question 6: Exporting into Business Studio

Question 7: Business Studio monitoring parameters

Question 8: Tibco Business Studio on Vista

Question 9: Business Studio limits

Question 10: Business Studio Limits 2

Question 11: Difference between Business Studio and iProcess

Question 12: open IPM in Business Studio 2.0

Question 13: Using Business Studio for gathering rqmts

Question 14: Business Studio 2.0 FOR DOWNLOAD

Question 15: TIBCO Business Studio - Version 1 vs.2

Question 16: Eclipse tutorial on how to use Business Studio

Question 17: Comparison of Business Studio with ProVision from ProForma

Question 18: Business Studio vs. iProcess

Question 19: Trouble importing iProcess-generated XPDL into Business Studio 2.0

Question 20: Schema definition for Business Studio XPDL

Question 21: Existing process examples

Question 22: import Visio diagrams in BS 2.0

Question 23: Importing TIBCO iProcess Modeler Analyst process

Question 24: version conflict

Question 25: XML import

Question 26: Generate the Procedure Documentation

Question 27: iProcess Modeler

Question 28: Execution Environments

Question 29: BW process not starting

Question 30: Modifying the appearance of objects from the palette

Question 31: Comparative reports from simulations

Question 32: link a ad-hoc asset from an activity/process map

Question 33: Process Simulation

Question 34: Existing Eclipse Instance

Question 35: BPMN Specification

Question 36: Import and opening a pdf file in Ad-Hoc Assets folder

Question 37: Rename a project - duplicate process IDs

Question 38: Reference Task must refer to another task

Question 39: simulation log info available to help analyze behavior



Rich Internet Applications GI 3.2 to 3.4 Development: General Interface Questions & Discussion

Question 40: Namespace error on Project Run

Question 41: New image path syntax

Question 42: “Please wait” type dialog box

Question 43: Ajax Portlets: Deploy GI portlets

Question 44: GI working scenario

Question 45: Use of MS Access with jdbc-odbc

Question 46: accessing different web service hosts for different environments

Question 47: Add-ins

Question 48: Create a loading page

Question 49: Unit testing best practice for GI applications

Question 50: Multi pages development

Question 51: Multiple Instances of GI App in One Page

Question 52: Loading errors

Question 53: Known Issue Beta 2: 1-7CM78U - Scrollbars do not update for Matrix component

Question 54: Tab Index

Question 55: Throwing Dialog after Tree Matrix Selection

Question 56: Matrix Scrollbars Not Updating

Question 57: Load a GUI from appCanvas.xml Onclick

Question 58: href equivalent in GI

Question 59: Vertical scrolling with mouse-wheel

Question 60: Inconsistent behavior of jsx3.net.Form

Question 61: constructor for class that extends jsx3.gui.Matrix

Question 62: Portlet Communication sample looks broken in 3.4

Question 63: Project will run in GI but not when running Project

Question 64: Run a component in a dynamically generated tab

Question 65: IFrame content

Question 66: Key Mapping in Tibco GI

Question 67: Save Issue: tb has no properties

Question 68: Avoid the “Powered by Tibco” GI message

Question 69: Use of Validation Expressions

Question 70: Unable to run javascript code in JavaScript Debugger in Firefox

Question 71: Preserving White Spaces

Question 72: callback function on GUI parts asynchronous referenced

Question 73: callback functions for dialog's OK/Cancel buttons

Question 74: showMask/hideMask

Question 75: checkbox in matrix tree

Question 76: Tree behavior in GI 3.3

Question 77: Mapping Rules: Node

Question 78: drag & drop component

Question 79: Cancel Matrix Selection on Delete Button Click

Question 80: Replace null in matrix column

Question 81: Setting Visibility of Menu Item as False

Question 82: Problems subscribing to an event

Question 83: setting XML to ComboBox

Question 84: Sort Column Image/Icon (down/up direction) not displaying

Question 85: Adding child node to matrix tree fails

Question 86: Use a TIBCO text area outside of GI

Question 87: Print troubleshooting

Question 88: get the width/height of a block in pixels

Question 89: CDF mapping with web service not working

Question 90: Manual changes

Question 91: CDF Document Hyper Link

Question 92: ImageButton in Matrix Tree

Question 93: Mapping a rule to a CDF document at runtime

Question 94: ordering in combo box

Question 95: accessing different web service hosts for different environments

Question 96: CDF Mapping

Question 97: Image URL in GI3.4

Question 98: Mapping same attribute

Question 99: Create vector objects dynamically

Question 100: Multiple GI Applications on the same page

Question 101: Getting DateTime in GI

Question 102: Dynamically added Rows not visible in Matrix

Question 103: Mapping Utility

Question 104: Display XML as in Web Browser

Question 105: 3D pie chart

Question 106: Calling the "init" method of a component

Question 107: Printing help in new window

Question 108: About jsx3.net.Request



Introduction



Tibco Software Inc. is a software company, with headquarters in Palo Alto, California. Tibco sells business process management and business integration software.



Vivek Ranadive founded the company as Teknekron Software Systems (TSS) in 1985.



In 1994, TSS was acquired by Reuters. Vice president and general manager Dr JoMei Chang went on to found Vitria.



In 1996, the company was renamed Tibco (The Information Bus Company).



In January 1997 Tibco Software Inc. was established as a separate entity to create and market software solutions for use in the integration of business information, processes and applications outside the financial services sector. Reuters retained Tibco Finance to create and market software solutions for the financial services sector.



In July 1999 Tibco went public on the Nasdaq Stock Market under the ticker symbol TIBX.



Business Process Management: TIBCO Business Studio



Question 1: Known-Depth Recursion and the XML Mapping Utility



I have a few questions concerning the tree control.



I noticed that there isn't a KEYPRESS event on the tree, but there is a setKeyListener() method, which leads me to believe I can add that event.



In the API document, it says that setKeyListener() is set to false when the tree is sorted. Can you sort the tree? If so, how?



How do you map nested XML (i.e. Organization Chart) to a Tree using the Mapper Tool? See below for an example:



<allemployees>

<employee @name='John Doe' @position='president'>

<employee @name='Mary Smith' @position='sec'/>

<employee @name='Mary Smith' @position='sec'>

<employee @name="John' @position='asstsec'/>

</employee>

</employee>

<allemployees



A: The 3.1 release of the XML Mapping Utility doesn't handle recursion of unknown/unlimited depths. However, if you know in advance that there would be no more than 'n' levels of recursion (a max/ceiling), you could create a mapping file with exactly this number of nested rules. To view this in action, open the Mapper and choose the XML/XHTML/Schema radio option. Next, click the Parse Document(s) button to parse the default files. The interesting file is the second one (the output). Double-click on the data node to expand it and then double-click on the record node. Each time you expand a record node, another appears beneath it, allowing the developer to create a recursive map of a known depth. I expect to support open-ended recursion in subsequent releases of the Mapper, but for now, you would need to create a map with at least as many levels as you expect to receive. Although this is a bit of an annoyance, this may not be too big of a deal given your use case, as I don't know too many organizations with limitless personnel hierarchies. Even the guy chasing pigeons off the roof may only be 12 levels removed from the CEO at your typical Fortune 1000 company. In any case, I would recommend you define your hierarchy using XML Schema and then just feed this into the Mapper. Then you can create a dozen employees nesting and call it a day. If you receive a document with only 6 levels, you'll be just fine. The mapper ignores missing nodes.



I actually created the General Interface CDF Schema (JSX/addins/mapping/samples/CDF.xsd) shown in this example for such a use case. In my case, I needed to transform a nested CDF document into another CDF document with a few minor modifications. Even though I didn't know the exact depth of each message I needed to transform, I did know the maximum depth that I would ever encounter. So I simply created a rule with that many levels.



Question 2: Make a text area scrollable but un-editable



The <enabled> property allows all or nothing.



Is there a way to make a text area un-editable and scrollable?



A: Set the "Enabled" property to "Enabled" for the text area component.



Use the Attribute Editor (Available in Palettes Menu option if not already seen) and add a new attribute as under:



Name: readonly

Value: true



Then, set the "BG Color" property to "#c8c8d5" for the text area component.



Question 3: BPMN support in Business Studio



Is Business Studio fully compliant with Business Process Modeling Notation?



A: Yes, Business Studio complies with Business Process Modeling Notation (BPMN). TIBCO Business Studio process editor supports the core set of this notation and the properties view supports the complete set.



Question 4: Business Studio is so slow



I have 2 gigs of ram on my pc and only five (5) business processes in Business Studio and it is very slow.



How do I properly configure Eclipse for Business Studio.



A: In BS 2.0, if you have a lot of problem view entries and your project explorer tree is expanded, there can be some issues with performance.



If this is the case, the best thing to do is go to:



Window->Preferences->General->Appearance->Label Decorations and Switch off the Business Studio Problem Decorator option. You should get much better performance.



When you have cleared up the majority of the problems/warnings in your xpdl 2 packages then you should be able to switch the option back on.



Question 5: Business Rules



The Business Rules element in the project folder caught my eye.



Where can I find information on the design intent for that element?



There doesn't appear to be any use for it. Also the version I have installed is 1.1.0, which appears to be rather old. Is there a newer version available? The approach taken by the architects of this tool has so much promise.



A: The Business Rules part of TIBCO's Staff ware Process Suite is branded iProcess Decisions. Assuming you have that product installed you can keep its artifacts in the Business Studio project for convenience of management and versioning and they will open in the Decisions Studio through Eclipse's file association.



TIBCO is working on a major update.



Question 6: Exporting into Business Studio



I wanted to know how to export from ARIS into Business Studio.



Is it just as easy to export from BS into ARIS?



A: An ARIS EPC (Event Process Chain) model can be imported into Business Studio by using the Import Wizard. In the main menu, go to File> Import>select the ARIS XML wizard>Next and indicate the directory from which the ARIS model can be imported.



The Export feature in Business Studio allows you to export in XPDL format and is intended for exporting process definitions to a deployment environment, for example to be deployed in executable format on iProcess Engine.



The typical flow would be to export process definitions from ARIS to Business Studio using the Import Wizard with a view to deploying the process having been through modeling and simulation to refine the process definition, not the other way round. I'm not sure why you would want to export process definitions back into ARIS, what would the purpose of that be?



A mapping exists between ARIS eEPC objects and Business Studio objects in but there is inevitably a degree of information loss each time you import and export.



Question 7: Business Studio monitoring parameters



We are planning to propose usage of Business Studio for laying down/monitoring some of the core business processes. I am exploring the TICBO BS product and find it very useful and interesting. I have few questions



Are these the only parameters that we can monitor during simulation using Business Studio?



1) Case Cost-Time

2) Participant Utilization



Or can we configure BS to monitor more parameters?



We are not using Eclipse and are not intending to use it. If we are not using eclipse, is there any other way that we can have the source controlling process?



A: There are quite a number of parameters that may be monitored during simulation, though they are generally grouped into the two main categories you mentioned. I assume from this that you are looking at the simulation reports? You should also make sure you check the Simulation Results View beneath the main Process Modeler window by default or you can reopen it via Window > Show View > Other > Simulation Results if you have closed it by mistake.



All the simulation results data is available in the xml file created for each simulation run and, for more advanced uses, you can also create your own reports.



I don’t think you need be unduly concerned about whether you are Eclipse users or not. The default installation is completely self-contained and may be used alongside whatever other tools you employ.



Question 8: Tibco Business Studio on Vista



I'm trying to install Business Studio on a Vista operating system.

I had to install it in console mode. And when I run it, I receive this error in the log file:



!SESSION 2007-02-23 10:49:30.612 -----------------------------------------------

eclipse.buildId=M20050929-0840

java.version=1.5.0_06

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT

Command-line arguments: -os win32 -ws win32 -arch x86



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.106

!MESSAGE Application error

!STACK 1

java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)

at java.lang.Runtime.loadLibrary0(Runtime.java:822)

at java.lang.System.loadLibrary(System.java:992)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)

at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)

at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)

at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)

at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)

at com.tibco.xpd.application.XPDApplication.run(XPDApplication.java:50)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)

at org.eclipse.core.launcher.Main.basicRun(Main.java:278)

at org.eclipse.core.launcher.Main.run(Main.java:973)

at org.eclipse.core.launcher.Main.main(Main.java:948)



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.106

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.0.jar [49] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.106

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.3.jar was picked instead.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.106

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.1.jar [50] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.106

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.3.jar was picked instead.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.2.jar [51] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Bundle update@plugins/com.tibco.xpd.xpdl.extended.ui_1.1.3.jar was picked instead.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Bundle update@plugins/org.eclipse.emf.ant_2.1.0.jar [98] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.emf.codegen_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Bundle update@plugins/org.eclipse.emf.codegen.ecore.ui_2.1.0.jar [99] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Bundle update@plugins/org.eclipse.emf.codegen.ecore_2.1.0.jar [100] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.jdt.launching_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.122

!MESSAGE Missing required bundle org.eclipse.emf.codegen_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Bundle update@plugins/org.eclipse.emf.codegen.ui_2.1.0.jar [101] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.codegen_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.jdt.launching_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Bundle update@plugins/org.eclipse.emf.codegen_2.1.0.jar [102] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.jdt.launching_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Bundle update@plugins/org.eclipse.emf.ecore.sdo.editor_2.1.0.jar [110] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Bundle update@plugins/org.eclipse.emf.importer.ecore_2.1.0.jar [117] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.importer_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore.ui_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Bundle update@plugins/org.eclipse.emf.importer.java_2.1.1.jar [118] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.importer_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.137

!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore.ui_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Bundle update@plugins/org.eclipse.emf.importer.rose_2.1.1.jar [119] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing required bundle org.eclipse.emf.importer_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing optionally required bundle org.eclipse.emf.ant_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Bundle update@plugins/org.eclipse.emf.importer_2.1.0.jar [120] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_0.0.0.



!ENTRY org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Bundle update@plugins/org.eclipse.xsd.ecore.importer_2.1.0.jar [177] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing required bundle org.eclipse.emf.importer_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2007-02-23 10:49:34.153

!MESSAGE Missing optionally required bundle org.eclipse.emf.ant_0.0.0.



How do I resolve this?



A: It is indeed true that Studio does not work on Vista (yet). The supported platforms are Windows 2000, XP and 2003.



As I understand it, Eclipse need to make some changes, most notably SWT support, which is the problem here.



However, I heard that a future version of Studio will work on Vista. So, just be on the lookout for news of future releases.



Question 9: Business Studio limits



I am using Business Studio (not the iProcess) and I made processes that have two (2) gateways.



The problem is as follows:



Process has 2 gateways;

Currently have 100 cases;



When simulated, the results are as follows:



The first gateway parameter has 2 values each with 50% percentage; so from 100 cases I get 50 cases in each path (output) of the gateway and it works. But for the second gateway, when I set the percentage it depends on the 100 cases and not 50 cases.



Note: second gateway is under the first gateway.



So how/or what can I do to make the second gateway to depend on cases entering the gateway not the total number of cases. Does TIBCO let us to do that? Because otherwise TIBCO would really limit us, and that doesn't make sense for me.



How can this be resolved?



A: Unfortunately it is a known issue, and we will try to address this problem in the future versions of the product.



For now you can use a trick to work around the problem using parameter independent gateway. If you go to “Rule Parameter” of the XOR gateway property tab you will see “Dependent on parameter:” labeled checkbox. It is selected by default and is read only. To unselect this option for gateway you will have to edit XPDL package in text mode. For example: right click on package file in Project Explorer and choose “Open With/Text Editor”. In text find corresponding element that will look like:



<xpdl2:Activity Id="_VPRroCSPEdyWTecUXhaJeQ" Name="G1">

<xpdl2:Route GatewayType="XOR"/>

<xpdl2:ExtendedAttributes>

<xpdl2:ExtendedAttribute Name="SplitSimulationData"><simulation:SplitSimulationData> <simulation:ParameterDeterminedSplit>false</simulation:ParameterDeterminedSplit>

<simulation:SplitParameter ParameterId="b"/>

</simulation:SplitSimulationData></xpdl2:ExtendedAttribute>

</xpdl2:ExtendedAttributes>

<xpdl2:NodeGraphicsInfos>

<xpdl2:NodeGraphicsInfo BorderColor="0,0,128" FillColor="255,219,74" Height="45.0" LaneId="_RB2FcB_7EdyZL4z06Rd0uA" ToolId="XPD" Width="43.0">

<xpdl2:Coordinates XCoordinate="414.0" YCoordinate="217.0"/>

</xpdl2:NodeGraphicsInfo>

</xpdl2:NodeGraphicsInfos>

</xpdl2:Activity>



Note: assigning name will help you find the element;



Next you have to change the content of ParameterDeterminedSplit from “true” to “false” and save the file.



Now the conditions on the gateway’s outgoing transitions are not connected to the parameter and will not be overwritten by preparing simulation. It is now your responsibility to provide proper JavaScript expression on transition’s condition. If the expression evaluates to true then the corresponding transition is taken otherwise default transition is taken. So for example you can put in the outgoing transition’s condition something like: Math.random() < 0.5;



Question 10: Business Studio Limits 2



I somehow solved the problem by playing around percentage. For example for 100 cases, if the second gateway is receiving 60% of the 100 cases, but 40% as default (garbage), so what I'm left with is 60%, and divide that between my 2 values. So if I want flow of 25% and 75%, then I have to put 25*0.6, and 75*0.6. And for third gateway if it is under second gateway (for example, under second gateway; value 25%), then I put default (garbage) as (100 - 100*0.6*0.25), and for its 2 values I have X*0.15 and Y*0.15; where X + Y = 100% and are non-negative numbers!



It works, but it is the long way!



My question regarding your reply, as a beginner to this product, I am wondering where I can provide JavaScript expression on transition condition.



A: On the general tab of a transition. The transitions have to be "Conditional" and it should be outgoing from XOR gateway. The gateway should also as I described in previous reply be parameter independent, otherwise the condition script will be automatically generated and overwritten before simulation starts.



Question 11: Difference between Business Studio and iProcess



I have been using the iProcess suite for a while now. How is Business Studio different from the iProcess suite? Which product is suitable for what purpose? What are the strengths of each product?



A: There are a couple of key differences between iProcess Modeler and Business Studio. First Studio takes a model-driven view (a Platform Independent Model to use the MDA term) whereas iPM (despite the name!) should really be seen as design and implementation of iProcess procedures specifically. This means the process modeled in Studio may, with suitable elaboration, be executed in many different process environments.



Also the intended user is different. As alluded to above, the Studio user may not be an IT implementer, but someone with a more business-centric view of the process. Hence, the inclusion of simulation and support for free-style process drawing instead of being restricted to what will be executed. Also Studio works disconnected, i.e. there is no need for an iProcess server.



At the moment the implementation tasks (the bits specific to iProcess Engine) still require that work to be done in iPM. As Studio evolves it will expand to encompass this set of functionality too including support for Web Services, SOA and Business Rules.



Question 12: open IPM in Business Studio 2.0



Can we open IPM in Business Studio 2.0?


Purchase this book or download sample versions for your ebook reader.
(Pages 1-31 show above.)