Grouping Rows within BEPL process

I have created a bpel database polling process to process a single table and use a logical update (mark a column as processed). The table will contain many unprocessed records at any time. after rows are brought into BEPL process i want to group them based some columns
Like, I am doing polling on a table from that table fetching following columns
     projectid
     date
     Employeeno
     billable
     sum(work)
all fetched rows should be grouped based on projectid,date,Employeeno,billable columns within BEPL process(not using custom SQL)
is there any way to do this?

to do grouping pls look into below links
http://www.prshanmu.com/2010/01/grouping-and-aggregation-in-bpel-using-xslt-20.html
http://www.xml.com/pub/a/2003/11/05/tr.html

Similar Messages

  • Avoid Duplicate Tasks when Expanding Groups for Custom Task Process

    Is there a way to:
    Avoid Duplicate Tasks when Expanding Groups for Custom Task Process?
    I've got a people metadata column that I am planning on putting groups into.  I want the groups to expand and send a task for all users in the groups.  I also want to avoid creating multiple tasks if a user happens to be in two groups at the same
    time.
    I'm trying to work out a way to assign users a read task based on job training requirements.  Right now assigning groups and using a workflow task to confirm read is what I'm trying to accomplish.  I just end up getting two tasks for a user if
    their in multiple groups.
    David Jenkins

    Hi David,
    Please verify the followings:
    After Participants, select Parallel(all at a once)
    Expand Task Options, select ‘Assign a task to each member within groups’
    Open the action properties, make sure ExpandGroup is Yes
    Also in SharePoint Designer ,you can edit the property for the Start Approval Porcess to enable ExpandGroup:
    Reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/d14da1c4-bd5a-459b-8698-3a89bb01e6ad/expand-groupnot-creating-tasks-for-users-issue-in-sharepoint-2013-designer-workflow?forum=sharepointgeneral
    https://social.technet.microsoft.com/Forums/office/en-US/ac245d45-ff66-4341-815c-79213efc4394/sharepoint-2010-designer-workflows-and-sharepoint-user-groups?forum=sharepointcustomizationprevious
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Nested Tables & Repeating Sub-group Row

    I'm using BIP re-grouping in conjunction with nested tables to avoid repeating some rows within my 'master' table.
    However, I'd like to repeat this sub-group row when the particular detail associated with that group spans multiple pages.
    Any advice on how I might accomplish this?
    Thanks,
    Chris

    Controlling the row of top level table to repeat in all pages, if the second table extends to next page,
    i dont think , there is a link between the two tables,
    you cannot identify on which page the row of the table exists, first or next.
    keeping this in mind, controlling the row of the parent table :)... looks difficult.
    But I see your point and requirement, but, i guess, the one which i sent earlier is a certainly a workaround.
    Looking for best soln, will let you know if i get +Ve ;)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Disable the dragging of the "group" rows

    We are using the AdvancedDataGrid as a tree dataGrid, using
    GroupingCollection as the dataProvider. The items in the dataGrid
    can be dragged, so dataGrid.dragEnabled is set to "true".
    But by setting dragEnabled to true, all rows seems to be
    draggeable, even the "group" rows! We would like to disable the
    possibility to drag the group rows, without managing the entire
    drag/drop process ourself using the DragManager. Is it possible?
    Thanks in advance!

    Any help?

  • How to Empty all rows within a Power Pivot Model

    Hi,
    I would like to know how to empty all rows within a Power Pivot model. I am in the process of creating quite a complex Power Pivot model. This means I need to create some sort of primitive version control process, e.g. stored multiple backups of the Power
    Pivot model without the data.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Forget what I've said before:
    Have a look at Gil's thread here:
    https://social.technet.microsoft.com/Forums/en-US/40abe021-1abd-4a2a-bf33-a035847fb7be/disconnect-datamodel-from-source?forum=powerquery
    For Power Pivot it means that you can get rid of all your data, but Keep Relations, measures, ..everything.
    Just import your tables once in order to get the connections right and move on.
    Imke

  • How to hide itemRenderers in the Grouped rows of an AdvancedDataGrid?

    I am using an AdvancedDataGrid and showing a comboBox as the itemRenderer and also the editRenderer. However I am seeing the combobox in the grouped rows also. Below is the code I am using and also attached the screenshot of the app. Please help.
    TestAdvGridGrpRen.mxml
    ===================
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/SummaryGroupADGCustomSummary.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
                import mx.collections.IViewCursor;   
                import mx.collections.SummaryObject;
    [Bindable]
    private var dpFlat:ArrayCollection = new ArrayCollection([
      {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
      {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000},
      {Region:"Southwest", Territory:"Central California",
          Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},
      {Region:"Southwest", Territory:"Nevada",
          Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000},
      {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
      {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},
      {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
      {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
                // Callback function to create
                // the SummaryObject used to hold the summary data.
                private function summObjFunc():SummaryObject {
                    // Define the object containing the summary data.
                    var obj:SummaryObject = new SummaryObject();
                    // Add a field containing a value for the Territory_Rep column.
                    obj.Territory_Rep = "Alternating Reps";
                    return obj;
                // Callback function to summarizes
                // every other row of the Actual sales revenue for the territory.
                private function summFunc(cursor:IViewCursor, dataField:String,
                    operation:String):Number {
                    var oddCount:Number = 0;
                    var count:int = 1;
                    while (!cursor.afterLast)
                        if (count % 2 != 0)
                            oddCount += cursor.current["Actual"];
                        cursor.moveNext();
                        count++;
                    return oddCount;
          ]]>
        </mx:Script>
        <mx:AdvancedDataGrid id="myADG"
            width="100%" height="100%"
            initialize="gc.refresh();">      
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dpFlat}">
                    <mx:Grouping>
                       <mx:GroupingField name="Region"/>
                       <mx:GroupingField name="Territory">
                          <mx:summaries>
                             <mx:SummaryRow summaryObjectFunction="summObjFunc"
                                summaryPlacement="first">
                                <mx:fields>
                                   <mx:SummaryField dataField="Actual" summaryFunction="summFunc"/>
                                </mx:fields>
                             </mx:SummaryRow>
                          </mx:summaries>
                       </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>      
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Region"/>
                <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                    headerText="Territory Rep"/>
                <mx:AdvancedDataGridColumn headerText="Actual" dataField="Actual"
                rendererIsEditor="true"
                itemRenderer="TestStatusTypeEditor"
                editorDataField="type"/>
                <mx:AdvancedDataGridColumn dataField="Estimate"/>
            </mx:columns>
       </mx:AdvancedDataGrid>
    </mx:Application>
    TestStatusTypeEditor.mxml
    ====================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="OnInit()" >
    <!-- This is the content of the ComboBox.
    <mx:dataProvider>
    <mx:Object label="Cog" />
    <mx:Object label="Sproket" />
    </mx:dataProvider>
    -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
            [Bindable]
            public var cards:ArrayCollection = new ArrayCollection(
                [ {label:"38865", data:1},
                  {label:"29885", data:2},
                  {label:"29134", data:3},
                  {label:"52888", data:4},
                  {label:"38805", data:5},
                  {label:"55498", data:6},
                  {label:"44985", data:7},
                  {label:"44913", data:8}]);
    private function OnInit():void
    dataProvider = cards;
    * This override of set data compares the data.label against the label property
    * of each item in the dataProvider (above). This code is written a bit more
    * generically than necessary, but it would allow you to have a long list
    * in the dataProvider and not have to change this code.
    override public function set data(value:Object):void
    super.data = value;
    var list:ArrayCollection = dataProvider as ArrayCollection;
    for(var i:int=0; i < list.length; i++)
    if( String(value.statusName) == list[i].label ) {
    selectedIndex = i;
    * This getter is the one identified as the editorDataField in the list for
    * the itemEditor.
    public function get type() : String
    if( selectedItem ) {
    return selectedItem.label;
    else {
    return null;
    ]]>
    </mx:Script>
    </mx:ComboBox>

    Solved this issue by using mx:rendererProviders element for my AdvancedGrid. Using the depth parameter gives me the ability to hide the itemRenderer for the Grouped rows.
        <mx:AdvancedDataGrid id="myADG"
            width="100%" height="100%"
            initialize="gc.refresh();">       
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dpFlat}">
                    <mx:Grouping>
                       <mx:GroupingField name="Region"/>
                       <mx:GroupingField name="Territory">
                          <mx:summaries>
                             <mx:SummaryRow summaryObjectFunction="summObjFunc"
                                summaryPlacement="first">
                                <mx:fields>
                                   <mx:SummaryField dataField="Actual" summaryFunction="summFunc"/>
                                </mx:fields>
                             </mx:SummaryRow>
                          </mx:summaries>
                       </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>       
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Region"/>
                <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                    headerText="Territory Rep"/>
                <mx:AdvancedDataGridColumn headerText="Actual" dataField="Actual"
                rendererIsEditor="true"
                editorDataField="type"/>
                <mx:AdvancedDataGridColumn dataField="Estimate"/>
            </mx:columns>
    <mx:rendererProviders>
        <mx:AdvancedDataGridRendererProvider
            columnIndex="2"
            columnSpan="1"
            depth="3"
            renderer="TestStatusTypeEditor"/>
    </mx:rendererProviders>
       </mx:AdvancedDataGrid>

  • Program is not sending emails if I run it within the process chain

    Hi All,
    I am facing a weird issue; I have an ABAP program which compares tables and sends the results in an email. It is working fine if I run it standalone. However, if I run it within the process chain it still runs but doesn't send the email.
    Any idea on how to troubleshoot this?
    Thanks

    maybe because it's ran under a different user (ALEREMOTE)?
    the user that executes the "mail" needs a valid emailaddress to be able to send...

  • How to send a group notification in approval process?

    I'd like to send a group notification in approval process, so as to tell them that they hava pending tasks in OIM.
    As if the out of the box does not support sending an email to a group of users. I have written the custom code
    to implement it, but I don't know where should I attach the adapter/event handler in the approval process.
    Any suggestions will be helpful! Thanks!

    Hi,
    I you can attach the adapter to to approval task as you attach adapter to other process task.If you are writing task assignment adapter then you can also attach this adapter in assignment tab.
    Regards
    Nitesh

  • Automatically complete pending interactive activities within a process

    What is the best approach for automatically completing pending interactive activities within a process?
    Scenario: If you have two or more threads within a split-join and one thread completes all the defined activities whilst the other thread is still waiting for an interactive step to be completed, is there a programmatic way of completing outstanding tasks i.e remove them from the workspace task list and move then onto the next task
    At the moment we have just configured the join activity to only wait for one process to complete but I was wondering if there was a way using the java api.
    Thanks in advance

    What I think you're asking is how to complete activities in the split so the instance can go onto the next activity after the join. If so then use just use
    Action = RELEASE;
    in the join. You'll need to surround this statement with appropriate conditional statements since the code in the join runs each time an instance copy (from one of the branches) reaches the join. You'll need to test to see if the instance is ready to proceed then do the action=release.
    If this is not what you want then you may need to involve something more complex, like placing a Notification Interrupt in your process. By interrupting the interactive in a split/join, you can perform these activities from within the interrupt process flow:
    OK / NONE      Indicates that PBL-Method execution was successful. This is the default value.
    FAIL                Indicates that the PBL-Method has failed its execution. The PBL-Method must be executed again, if it is so required.
    CANCEL           PBL-Method execution is aborted.
    REPEAT           Indicates that the PBL-Method execution is successful, but not recorded as completed.
    RELEASE           Ends the PBL-Method execution and releases the instance from this activity.
    ABORT           Ends PBL-Method execution and aborts the entire process instance.
    BACK           Ends PBL-Method execution and sends the instance back to the activity where the exception (or interruption) occurred.
    SKIP                Ends PBL-Method execution and sends the instance back to the activity where the exception (or interruption) occurred and skips it.
    Note the last one allows you to skip the interactive upon return and go to the next activity. Sorry I can't help any further. You may want to describe you're problem some more and perhaps we can help you better.
    Mark

  • Drag and drop row within same table.

    Version 12.1.2
    I am trying to implement drag and drop row within same table, and I am trying to follow this sample from Frank:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/106-reorder-table-rows-1921121.pdf
    But, I am getting this cast exception. The code I have in my dropEvent bean is identical to whats on the sample.
    oracle.jbo.server.ViewRowImpl cannot be cast to oracle.jbo.uicli.binding.JUCtrlHierNodeBinding
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1
    Not sure if anything has changed on 12c release, or if I am missing anything.
    Here is my complete code:
    public DnDAction doDnD(DropEvent dropEvent) {
    RichTable table = (RichTable) dropEvent.getDragComponent();
    List dropRowKey = (List) dropEvent.getDropSite();
    if (dropRowKey == null) {
    return DnDAction.NONE;
    Transferable t = dropEvent.getTransferable();
    DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rks = t.getData(df);
    Iterator iter = rks.iterator();
    List draggedRowKey = (List) iter.next();
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    Row dragRow = draggeRowNode.getRow();
    JUCtrlHierNodeBinding dropRowObject = (JUCtrlHierNodeBinding) table.getRowData(dropRowKey);
    Row dropRow = dropRowObject.getRow();
    //get the table's ADF JUCtrlHierBinding
    CollectionModel collectionModel = (CollectionModel) table.getValue();
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
    DCIteratorBinding objectsIterator = treeBinding.getDCIteratorBinding();
    RowSetIterator rsi = objectsIterator.getRowSetIterator();
    int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
    dragRow.removeAndRetain();
    rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
    objectsIterator.setCurrentRowIndexInRange(indexOfDropRow);
    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
    adfctx.addPartialTarget(table.getParent());
    return DnDAction.MOVE;
    It does not seem to like this line of code:
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    I would greatly appreciate any help.
    Thanks.

    Well there has bee a changes somehow. using 12c
    table.getRowData(draggedRowKey);
    returns a ViewRowImpl and no longer anything which can be convertet to JUCtrlHierNodeBinding. Anyway, the fix is easy:
        public DnDAction onDepartmentsRowDrop(DropEvent dropEvent) {
            //get the table instance. This information is later used
            //to determine the tree binding and the iterator binding
            RichTable table = (RichTable) dropEvent.getDragComponent();
            List dropRowKey = (List) dropEvent.getDropSite();
            //if no dropsite then drop area was not a data area
            if (dropRowKey == null) {
                return DnDAction.NONE;
            //The transferable is the payload that contains the dragged row's
            //row key that we use to access the dragged row handle in the ADF
            //iterator binding
            Transferable t = dropEvent.getTransferable();
            //get the row key set of the dragged row. The "rowmove" string is the
            //discriminant defined on the drag source and the collectionDrop target.
            DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
            RowKeySet rks = t.getData(df);
            Iterator iter = rks.iterator();
            //for this use case the re-order of rows is one-by-one, which means that the rowKeySet
            //should only contain a single entry. If it contains more then still we only look at a
            //singe (first) row key entry
            List draggedRowKey = (List) iter.next();
            //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
            Object objdrop = table.getRowData(dropRowKey);
            Row dropRow = (Row) objdrop;
            //get the table's ADF JUCtrlHierBinding
            CollectionModel collectionModel = (CollectionModel) table.getValue();
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();
            RowSetIterator rsi = departmentsIterator.getRowSetIterator();
            int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
            //remove dragged row from collection so it can be added back
            dragRow.removeAndRetain();
            rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
            //make row current in ADF iterator.
            departmentsIterator.setCurrentRowIndexInRange(indexOfDropRow);
            //ppr the table
            AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
            //note that the refresh of the table didn't work when refreshing the table
            //so I needed to refresh the container component (af:panelStretchLayout).
            adfctx.addPartialTarget(table.getParent());
            return DnDAction.MOVE;
    does the trick. I changed the line to
    //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
    so you don't need the detour through the JUCtrlHierNodeBinding any longer.
    Timo

  • Using a function within a process flow...

    Hi,
    I'm trying to figure out a way of using a function (or something else) to return a status before attempting to run a mapping. I'd like to have a table with all my mappings, start date, end date, status, etc.
    1. SELECT status FROM table, if the mapping has already been executed do nothing, else execute the mapping, etc.
    Is there a way to accomplish that in OWB flow ?
    Thank you.
    Gaétan

    Hi,
    We had a similiar set up in my previous role where we have a Process flow for each mapping. Under that processflow, before attempting to run the mapping we called function to check whether that particular mapping has been run successfully for that date. The function would take "PF Name" as an input and returns the status as 1 (return success - the mapping was not run, so has to be run today)
    2 (return warning - the mapping is already run no need to run this time)
    3 ( any fatal errors).
    The function code is as below - _______________________________________________________
    CREATE OR REPLACE FUNCTION "PUB_CHECK_RUN_STATUS"("IN_ETL_PROCESS_FLOW_NAME" IN VARCHAR2) RETURN NUMBER IS
    --initialize variables here
    lv_Current_Load_Id NUMBER;
    lv_Last_Load_Id NUMBER;
    BEGIN
         <<Check_PF_Status>>                    -- This block is Standard for all Loads Jobs
         BEGIN
              SELECT LOAD_ID
              INTO lv_Current_Load_Id
              FROM LOAD_ADMIN.LATEST_LOAD;
              SELECT LAST_COMPLETE_LOAD_ID
              INTO lv_Last_Load_Id
              FROM LOAD_ADMIN.ETL_PROCESS_FLOW
              WHERE ETL_PROCESS_FLOW_NAME = in_ETL_Process_Flow_Name;
              IF Lv_Last_Load_Id = lv_Current_Load_Id
              THEN
                   -- This Process Flow has already been completed during this Load, so do not re-run
                   RETURN 2;          -- Returns a Warning Status
              ELSE
                   -- This Process Flow has not completed during this load, so need to run this now
                   RETURN 1;          -- Returns a Success Status
              END IF;
         END Check_PF_Status;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN 3;     -- Returns an Error Status
    RETURN NULL;
    END;
    In the above code
    LATEST_LOAD is a view which always returns one row with current load information (like load _id, start time etc)
    ETL_PROCESS_FLOW is a table containing one row for each process flow with information like (execution status, load_id when it was execute )
    You can modify to suit your requirements.
    HTH,
    Mahesh

  • SSRS Report - Group Totals are Zero when Group Row Hidden

    I have a report with one group called Counties. This group has a filter.
    I added code to produce the totals for Prior, Current and DistinctCount:
    Public Shared Dim grandTotal1 as Decimal = 0
    Public Shared Dim CountyTotal1 as Decimal = 0
    Public Function AddTotal1(ByVal b AS Decimal) AS Decimal
    grandTotal1 = grandTotal1 + b
    CountyTotal1 = CountyTotal1  + b
    return b
    End Function
    Public Function GetCountyTotal1()
    Dim ret as Decimal = CountyTotal1
    CountyTotal1 = 0
    return ret
    End Function
    Public Function GetGrandTotal1()
    Dim ret as Decimal = grandTotal1
    grandTotal1= 0
    return ret
    End Function
    Public Shared Dim grandTotal2 as Decimal = 0
    Public Shared Dim CountyTotal2 as Decimal = 0
    Public Function AddTotal2(ByVal b AS Decimal) AS Decimal
    grandTotal2 = grandTotal2 + b
    CountyTotal2 = CountyTotal2  + b
    return b
    End Function
    Public Function GetCountyTotal2()
    Dim ret as Decimal = CountyTotal2
    CountyTotal2 = 0
    return ret
    End Function
    Public Function GetGrandTotal2()
    Dim ret as Decimal = grandTotal2
    grandTotal2= 0
    return ret
    End Function
    Public Shared Dim grandTotal3 as Decimal = 0
    Public Shared Dim CountyTotal3 as Decimal = 0
    Public Function AddTotal3(ByVal b AS Decimal) AS Decimal
    grandTotal3 = grandTotal3 + b
    CountyTotal3 = CountyTotal3  + b
    return b
    End Function
    Public Function GetCountyTotal3()
    Dim ret as Decimal = CountyTotal3
    CountyTotal3 = 0
      return ret
    End Function
    When it runs, it gives me this:
    This works fine. But now I need to hide the details on the counties. I just need the line with the 15, 32 and the 9.
    I highlighted the group row, right clicked -> Row Visibility and changed it to Hide. But when I do this, my results are three zeros.
    I am at a loss now on how to just show the totals. Does anyone have any suggestions for me to try?
    cpemtp1

    Hi cpemtp1,
    Per my understanding that you just want to get the total display in the report and hidden the details, right?
    I have tested on my local environment and suggest you to create an new dataset and using the query below to get the Total of every country and then you can using the SUM() function to sum the total of all the country which meet the  conditions.
    Detail information below for your reference:
    Create an new dataset and using the query below to get the sum of every country meet the filter condition:
    Select a.PRIORYEAR,a.CUREENTYEAR ,a.Country from (select SUM(PRIORYEAR) as P1,SUM(CUREENTYEAR) as C1,Country
    from TableName
    group by Country) a
    where a.P1<=a.C1
    Create an new tablix under the button of the existing Tablix or you can just remove the old tablix as below
    Original Table:
    New designed total:
    If you still have nay problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Read an Attachment attached within a process instance

    Hi
    I am using BPM 11.1.1.6, can someone tell me how do I read and parse an attachment attached within a process instance. Thank you.
    Regards
    Venkat

    Thank Sudipto for the link.
    Experts,
    I used the API as suggested in the first link and managed to iterate through the attachments attached in a process instance but when i am trying to read the attachments using the getInputStream() its returning null, all the other properties of the taskattachment returns correct information. Is this a known bug?? The sample code snippet is as below:
    List attach= task.getAttachment();
    int i=0;
    for (Object obj :attach){
    i=i+1;
    AttachmentType taskAttachment = (AttachmentType)obj;
    System.out.println("Task Attachment " + i + " " + taskAttachment.getName());
    System.out.println(taskAttachment.getMimeType());
    System.out.println(taskAttachment.getSize());
    InputStream inpStream= taskAttachment.getInputStream();
    if (inpStream == null){
    System.out.println("Stream is empty");
    }

  • Group rows together and toggle / collapse them

    I'm trying to leave excel, but one thing I can't figure out is how to group rows together so i can collapse or expand them. I realize there are categories, but they won't work for me for a variety of reasons. What I simply want to do is take a few rows and group them with the main top row and be able to click to show/hide the subrows. that's simple. i want to do it manually for just some rows, not an entire table. i find category groups confusing and irritating, and they're not working correctly.
    How can I do this in numbers?

    Make sure that the input for the Sub Mix track says Bus 1.

  • Using cmd within the process flow. possible?

    I am trying to combine all the flat files in a directory in my process flow by executing
    cmd> C:\folder *.log copy new.log
    is this possible within the owb?

    I would like to ask another question..
    The external table isnt dynamically connected to the flat file defined, so does it mean that I would have to re-deploy it again, everytime the content of the flat-file get updated?
    if so, is there a way for me to deploy the external table within the process flow?

Maybe you are looking for

  • I updated my iTunes to 10.5, and now it won't open after I restarted my computer.

    I installed the new 10.5 iTunes and resetted my computer, and then I went to go open iTunes and it wouldn't open. I waited for a good 5 minutes thinking maybe my computer was just being slow, but it wasn't. I resetted my computer, and tried doing it

  • How to create a webdynpro view dynamically and embed into view container?

    Hi all, Anyone knows how to create a view dynamically and embed the view into an existing view container? My layout looks like this: I have an existing view named main_view. Inside main_view, I create a view ui container named vcu_view. I embed the m

  • How do I disable the Image Resize Effect?

    The Image class does a zoom resize effect when you change it's width and height. How do I disable that? it's .transitions array is already empty.

  • CachedRowSet problem

    I wish to use CachedRowSet....I have JDK1.4 installed...as JDK 1.4 does not support Rowset. I tried to download additional bundle (rowset.jar) from Sun site. But still CachedRowSet does not work. Can any body guide me step wise what to be done to use

  • Standard structure Modifications

    Hi All    I am supposed to  incorporate some  new fields to  Some of  the CIN related standard  structures such as  J_1ITAXVAR , J_1IEXHEAD etc .    Do i need to  incorporate  these fields  as a  append structure  or  directly insert there as it allo