Viewing Instance Variable Information for Automatic activities

Hi,
I have a process which is made up of all automatic activities that each do a specific set of activities and populate a few instance variables. I want to create a view so that a user can see the state and value contained in each of the instance variable at any time during the execution of the process. A example of what i want to achive in the view is shown below.. any advice on how to design such a feature
InstVar_1 InstVar_2 InstVar_3
1 2 3
4 5 6
Thanks.

Are you the one who commented out the code you're looking for ?//String desc = StringFactory.getString(attributes.getValue("desc"));You just have to modify you AttributeObject class to hold a new field : String description. And then, it's up to you to create a new constructor or a new setter method.
Btw, this is not a Swing related question.

Similar Messages

  • PUnit Test for Automatic Activities in OBPM 10GR3

    Hi all,
    We have a series of activities in our process , some Interactive and some Automatic.
    We are trying to write a PUnit Test for the entire Process but we are unable to execute it .
    Whenever it reaches an Automatic Activity, it gives an error.
    Caused by: fuego.papi.exception.TaskNotFoundException: Task 'PUnit Task' was not found in activity 'UpdateDatabase' while trying to process instance '/UnitTestProcess#Default-1.0/1/0'.
    at fuego.bpmunit.punit.ProcessServiceSession.getTaskIn(ProcessServiceSession.java:557)
    at fuego.bpmunit.punit.ProcessServiceSession.getPUnitTask(ProcessServiceSession.java:566)
    at fuego.bpmunit.punit.ProcessServiceSession.activityExecute(ProcessServiceSession.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.ObjectTypeDescription.invokeMethod(ObjectTypeDescription.java:1370)
    How can we associate a PUnit Task with an Automatic Activity so that we can use PUnit Tests for testing process flows?
    Otherwise, we have to remove all Automatic Activities from the process and just test the Interactive Activities for the PUnit Test and then include the Automatic Activities later and just do CUnit Tests of Automatic Activity methods which doesn't sound right?
    How do we eliminate this problem?

    Hi,
    Set a Boolean flag value to False before the SQL query.
    Some thing like:
    boolean flag = false;
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    logMessage("-- The id is-->" +element.id);
    flag = true;
    if(flag) {
    logMessage("-- Id Found -->" );
    else
    logMessage("-- Id Not Found -->");
    Hope the above logic would work fine.
    Bibhu
    Edited by: Bibhuti Bhusan on Sep 2, 2011 11:48 AM

  • Crystal Report Viewer requests login information for subreport

    I am using CR 11.5 with MSSQL 2000. I have a report that includes a subreport that pulls information from a different database than the main report. When I run the report through my .net application, it requests a password for the secondary database. If I supply the password, the report will run correctly, however, I cannot give out the password to regular users.
    Is there a way to supply the password for the secondary database within the application?
    Thank you,
    David

    Log on subreport code would be something like this:
    crSubreportDocument = crReportDocument.OpenSubreport("Ron")
    crConnectionInfo = New ConnectionInfo
    With crConnectionInfo
    .ServerName = "Rcon1"
    .DatabaseName = "Northwind"
    .UserID = "van"
    .Password = "van"
    End With
    crDatabase = crSubreportDocument.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    For more help, see the samples documented in this wiki:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Recommend vbnet_win_subreport_logon.zip or csharp_win_subreport_logon.zip.
    Ludek
    Edited by: Ludek Uher on Oct 19, 2009 8:38 AM

  • Priority for Automatic Proccesses in Oracle BPM 10.3

    Hi,
    I'm completely new to the BPM space, and I was just transferred to a team that's using Oracle BPM 10.3, so my apologies if this is a trivial question.
    Does anyone know how to implement priority for automatic activities in Oracle BPM 10.3? Basically, I want high priority instances to be processed before low priority ones.
    I tried kicking off several instances in a loop with the "priority" variable set to different values, with an automatic activity that would log the instance and its priority, and the begin state limiting the process to a single concurrent instance at a time. It did not look like these instance were processed in priority order.
    Thanks!

    The priority predefined variable is an integer that goes from 1 to 5. The visible corresponding values for these integer values when shown to the end user in the WorkSpace run from "Lowest" (1) to "Highest" (5).
    You typically use priority in a view or filter for the Workspace. You'd set the priority column in the WorkSpace to be sorted descending so that the higher the priority, the closer it is to the top of the end user's queue.
    Unless your view or filter is set to show all activity types currently in the process, the only work item instances shown in the WorkSpace are Interactive activities . The benefit to setting a priority to work item instances is that the end users are encouraged to work the interactive work item instances from the top of the list down.
    Bottom line is that the priority predefined variable helps end users sort / prioritize their work, but does not cause the engine to sort the work it has to do with work item instances running in Automatic activities.
    If you have a batch fully automatic process that takes a while to run, I could see a use case where you might want to sort the list of incoming work item instances. If it's a typical process with a mix of automatic and interactive activities, automatic actiivities take a much smaller percentage of time than the interactives do. Work item instances running inside automatic activities normally don't take much time and the need for prioritization doesn't come up. What's your use case where you need to prioritize them?
    Dan

  • Null Instance Variables on Screenflow

    Hi,
    I have some problems with instance variable of type BPM Objects in a Screenflow.
    I always create automatic processes without user interaction, and on server side I have seen that it's not necessary to instantiate an instance variable. Moreover if within a method I write (I use the Java style syntax):
    String a;
    a.toString(); // just to call a method on a not-instantiated variable
    everything works correctly, the "a" variable is automatically instantiated.
    But it seems that in an automatic activity of a Screenflow it's different, I need to do the new also for Instance Variables.
    Then, in the Screenflow I have an Instance Variable myObject of type MyObject that is a BPM Object. This object has an attribute myStrings that is an array of String.
    To instantiate the instance variable I can write:
    myObject = new MyObject();
    But then I get a java.lang.*NullPointerException* when I call the extend method of its attribute myStrings to add a string.
    Do you agree with me that on the Screenflow code it's necessary to instantiate the variables?
    How can I instantiate an Array of String?
    Thank you.

    Thanks Daniel, I'm using ALBPM 6.0,
    i know the line where I get the exception, I have a logMessage before and after each line of code, and then in the exception stack there is the PBL Method line indicated:
    Caused by: java.lang.NullPointerException
         at xobject.Fuego__AutoGen__Screenflows__.__ScreenflowConJsp.automatic1(__ScreenflowConJsp.xcdl:*19*)
    19 is the code line where I get the exception. In this line I have this:
    myObject.myStrings.extend(arg1 : a);
    but the null object is not the array, it's myObject that is an Instance Variable.
    In ALBPM60_Studio_ReferenceGuide at chapter Programming Styles paragraph Java Programming Style there is:
    This style emulates Java syntax and adds several features to match PBL expressions. These added features include:
    • Output arguments
    • Input and display statements
    • Variable auto-initialization
    In fact in my previuos BPM projects I have seen that is not necessary to istantiate the variables, both for Instance Variable and local variable declared within a method. In my previous post I did an example:
    String a;
    a.toString();
    Usually this causes an Exception, but not in ALBPM methods.
    My main question is: is it possible that this is true just for Server side methods and not for Screenflow methods? Because in my case I need to instantiate every Instance Variable of my Screenflow (for example the myObject instance variable) in an Automatic Activity I have put as first Activity of the flow.
    Thanks again for your help.

  • Using instance variables

    Hi,
    I am currently evaluating this tool for a specific user group. I had a question in mind :
    In a typical workflow which involves database connections (i.e. inserting data in a database and displayign data) do you think we should pass data between various activities and users using instance variables or do you think we should retrieve data from the tables every time for display etc

    I would suggest get the data from the database first time and then store it in instance variables. Whenever, you need to update any values in the database from a particular activity, make a call to database to update it with the values from instance variables.
    For displaying, use instance variables. You do not need to get fresh data from database for each activity, unless you think that data in database keeps changing for that particular records every day.
    Regards
    Right Chord

  • When can I make instance variables public?

    I noticed that some of the in-built Java classes have public instance variables, for example in Rectangle the variables x, y, width and height are all directly accessible from outside. When is it okay to make public instance variables? Is it when they are primitive types? I thought maybe it is when they are final variables - but that can't be the case because you can directly modify the Rectangle's public instance variables.
    I've always used getter and setter methods in my objects because I was told "making instance variables public is bad". But obviously this isn't necessarily the case (unless the guys at Java are bad programmers). I think directly accessing the instance variables makes for much neater and more readable code. Is there any convention or best-practise guidelines on when I can or can not make them public?
    P.S. I also just "don't get" why you can't make them public if you're just going to provide a getter and setter method anyway... what's the difference? I suppose the theory is that the setter method should do some checking to make sure the input is valid. But what if the setter method just accepts -anything- of the appropriate type (accepts any Rectangle, for example)? What's the use of hiding the instance variables?
    teach me.
    Thanks. ;-)

    For the most part, it is true that making instance member variables other than private is not a good idea. This concept, known in OO circles as "information hiding", typically allows the greatest flexibility in internal implementation of a class, since you can change the internal structure of the class without affecting the clients that use the class.
    Let me add that Sun's programmers are a team, and teams have members of differing capabilities.
    It is also true that there may be cases where exposing instance variables is unlikely to cause problems. Simple classes, or very stable classes that will not change are some examples, but not all.
    Following a guideline blindly is not a good idea either. You need to evaluate each instance in which you decide you might want to deviate from "good programming practices". Still, best practices are best practices for a reason. It is best to understand them, and then decide if you can violate them.
    For my own part, I don't think it is "neater" to expose such variables, and I have personally had to deal with situations where a change in a class's internal structure was extremely painful because the original developer chose to make all his instance variables public.
    {?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Users are not able to use Outlook 2010 to view free/busy information and cannot set Out Of Office automatic reply

    Hi All,
    Please help me.
    I have an issue where users are not able to use Outlook 2010 to view free/busy information and cannot set Out Of Office automatic reply. But they are can set Out Of Office automatic reply from OWA. My exchange server is Ms Exchange 2010.
    The test E-mail AutoConfiguration failed with this error:
    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml starting
    GetLastError=12175; httpStatus=0.
    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml Failed (0x800C8203)
    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
    GetLastError=12007; httpStatus=0.
    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml Failed (0x800C8203)
    Local autodiscover for mydomain.com starting
    Local autodiscover for mydomain.com Failed (0x8004010F)
    Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
    Srv Record lookup for http://autodiscover.mydomain.com/autodiscover/autodiscover.xml Failed (0x80072EE7)
    Srv Record lookup for mydomain.com starting
    Srv Record lookup for mydomain.com Failed (0x8004010F)
    Any idea?
    Thanks,
    Pieter

    OK.
    Please follow this step.
    1. As you said you are in coexistence step , so for now all endpoint already point to Exchange 2010 right?
    2. Check legacy owa redirect that you already configure
    3. In Exchange 2010 , Make sure that you already configure "Autodiscoverinternaluri" by this command set-clientaccessserver -identity "servername" -autodiscoverinternaluri
    https://autodiscover.domain.com/autodiscover/autodiscover.xml. and don't forget to create autodiscover record in DNS
    4. in Exchange 2010 , Make sure that you already configure "EWS" path by this command set-webservicesvertualdirectory -identity "XXX\Default web site name" -internalurl
    https://yourinternalurl/EWS/Exchange.asmx -externalurl https://yourexternalurl/EWS/Exchange.asmx
    5. don't forget to replicate freebusy from Exchange 2003 to Excahnge 2010 via public folder.
    You error look like client cannot get autodiscover process please check it again.

  • Which views/tables to use for retrieving item information

    Hi All,
    I need to write a PL/SQL procedure for retrieving detailed information for a specified item (given inventory item ID and organization ID). I'm not quite sure which views/tables to us for this.
    I found out that view MTL_SYSTEM_ITEMS_FVL is the underlying view for the Master Item Form (via help / record history menu option). But when looking up in eTRM following warning is described:
    Warning: Oracle does not recommend you query or alter data using this view. It may change dramatically in subsequent minor or major releases.
    The second view I found is MTL_SYSTEM_ITEMS_VL. But when quering for data in this view, it turned out that the view is empty.
    Can anybody tell me for what purposes this view is used?
    Is it the correct way to use one of these views (or any other?) for retrieving detailed item information or should I better define a new query within the procedure using tables such as MTL_SYSTEM_ITEMS_B, MTL_SYSTEM_ITEMS_TL and MTL_PARAMETERS (any others) ?
    Any ideas for that?
    Best Regards,
    Carolin

    Hi Carolin,
    It's usually more efficient to use base tables instead of views. The tables you will actually need will depend on your requirements. Regarding your question about MTL_SYSTEM_ITEMS_VL, it's usually ok to use the _VL views. These typically contain the same information as the base tables plus some logic to get the appropriate translations for fields that can be shown in different languages (for instance, DESCRIPTION). Typical table names you will need could be:
    Item Master: MTL_SYSTEM_ITEMS_B
    Organizations: MTL_PARAMETERS
    Subinventories: MTL_SECONDARY_INVENTORIES
    Units of Measure: MTL_UNITS_OF_MEASURE
    Onhand Quantity: MTL_ONHAND_QUANTITIES_DETAIL
    Material Transactions: MTL_MATERIAL_TRANSACTIONS
    Categories: MTL_CATEGORIES_B, MTL_CATEGORY_SETS_B, MTL_ITEM_CATEGORIES
    If your query didn't return any data, it's probably because the language was not properly setup in your session (check USERENV ('LANG') so see what's the language in your session).
    Hope it helps.

  • ITunes accepts password for initial login but not for Match, account information or automatic downloads

    Hello all,
    I have an iMac with 2.0 Ghz core duo running Snow Leopard 10.6.8 and the latest iTunes 10.5.1.  iTunes will accept my initial login for purchases and access to the iTunes Store.  But if I attempt to access my account information, enable automatic downloads or iTunes Match, I get a login window that states, "Sign in required."  I enter in the correct password but iTunes does not allow me further access.  It just keeps giving me the same login window over and over.  It does not state that I have entered in the wrong password.
    I have attempted a few remedies, all without success:
    1.  Preferences>advanced>reset warnings and reset cache then restart.
    2.  User>library>preferences.  Placed plist preferences for iTunes in trash, then emptied trash.  Restart.
    3.  Reset password.
    4.  Trashed iTunes application, emptied trash.  Downloaded new copy of iTunes 10.5.1.  Restart.
    5.  Delete SC folder and restart computer.
    None of these attempts have fixed the problem.  I run the same software on my MacBook with a 2.4 GHz Core 2 Duo and I have full access without any problems on that computer.  The only problem is with the older iMac.
    Any tips or solutions would be most appreciated.
    Thanks.

    Well, no I haven't heard from Apple yet. But I'm slightly embarrassed. When I was told there was no way I could combine accounts, the friendly Apple lady suggested I change the ID on the old account to be similar to my new ID. I did that (and promptly forgot about it). Until just now. Once again, I'm able to update my Apps, but it's still annoying you can't combine accounts.
    More than slightly embarrassed,
    Chris

  • How do i filter the records in analytic view by using variable/parameter for a time range

    i have a analytic view which has a output column as date type. i want the user who use this view have the control to decided the output records based on a time range (from x to y).
    i tried to create 2 variables, 1 for start_time, 1 for end_time. Ideally, i should have a expression for filtering data like this:
    $$start_time <= date_column <= $$end_time
    However, the variable windows doesn't seem to be feasible for the expression as above.
    Does anyone has the same problem and get it solved?
    Thanks!

    just figured out by my own. So the answer is using "variable" with "range" option.
    Making a variable, then set the "selection type" to "range".
    When preview the data, the variable input window pops up with operator on default "equal", use dropdown list to swtich it to "between", then you can enter the start_time and end_time as a range filter.

  • Variable Screen for query view is hidden

    Hi All,
       I caome across an old query in BW 3.5 which is haiving some mandatory variables. There is a query view for the same query but when i am executing the query view i didn't got any variable screen and its running for some predefined value. How one can hide the variable screen for query view.
       How can i achieve the same for a BI 7 query view.  Please guide.
    Regards:
    Jitendra

    Hi Rakesh,
        What you said is right but my concern is that next time when i open the query view variable screen shouldn't appear ie should run with previously stored variable values. I am working with BI 7 query view. Please guide.
    Regards:
    Jitendra

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • When viewing multiple item information, I was wondering what the checkboxes next to "Artist", "Album Artist", etc... are used for.

    When viewing multiple item information, I was wondering what the checkboxes next to "Artist", "Album Artist", etc... are used for.

    When checked, it means that you are going to apply whatever is in the box to all of the selected items.

  • How to view specific assignment block information for opportunity

    Hi everyone,
    We have the following requirement from our users:
    1) Users will specify a selection criteria to view only specific opportunities on the opportunity search screen
    2) Users will then select multiple opportunities from the result list
    3) Users want the ability to choose the specific assignment block information they want to view(opportunity header, sales team, partners etc)
    4) We should then display this in some form so that only specific AB information is available to the users
    As I am compartively new to the SAP world, I would really appreciate if some one could guide me here. Currently a solution is in place where users can launch a report which opens a new excel sheet which has information for about 7 assignment blocks(this is static and users cannot choose which ones they want). We essentially need a solution which can interact with our CRM system and give the users the ability to choose which AB information they want to view and then output this information in a printable format.
    I have been told that we can use Crystal reports to accomplish this but I am not very sure as these are primarily analytics tools? It would be great if anyone can provide some pointers.
    Regards,
    Abhinav

    Hello Madhusudan,
    In your overview page controller you have to overwrite methods: DETACH_STATIC_OVW_VIEWS (this is where you remove your assignment block from the page dynamically), REATTACH_STATIC_OVW_VIEWS (this is where you can put your assignment block back on the page). Both methods have a returning parameter where you can specify which assignment block you want to detach/reattach.
    Hope this helps.
    Best Regards,
    Yevgen

Maybe you are looking for

  • Error while clicking submit button?

    Hi All, I am trying to implement selectOneListbox component. This displays all the data which I required. I am also able to retrieve indiviual data. I checked this using alert in java script. The problem which I am facing is that I have a command but

  • File adaptor question

    I have a requiurement where i have to poll a certain directory and based on the file type move it to a different location.....i was planning on using 2 comm channels and using exclude file a in cc1 and file 2 in cc2... Is there any other way..? Venka

  • Why is the iPad charging very slowly and not completely

    The iPad recently has stopped holding its charge and is charging very very slowly--even after being plugged in overnight it is only half charged. I did just download the upgrade and am wondering if that could have something to do with it?

  • Flash Font Problems

    I'm using Flash CS4 and have wasted--over the course of the past 18 months--at least three days of work time trying, in vain, to make Flash fonts work completely consistently. Problems: 1) Fonts don't appear after FontAgent activation (must copy to A

  • Recovery Media creator error windows 8

    Hi; while i'm trying to creat recovery disc on DVD an error happend and i want to fix it plaese help me i don't have any backup Attachments: بدون عنوان.png ‏30 KB