Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2012-10-10T07:50:30Z by SystemAdmin
SystemAdmin
SystemAdmin
7615 Posts
ACCEPTED ANSWER

Pinned topic BPM 8 table row reset

‏2012-10-07T19:46:20Z |
Hello,

I have a case where in a coach there are 2 tables.
Each tables are related by a column.
Each tables represent a Business Object, but if a value in table A is deleted, the value in table B that related to table A needs to be deleted too.
I've written server script to do that, I try to run the script in the debug mode, the result was right.
But when I run the process in normal mode, the table does not show the right number of row.
What I expect is the number of row is showing the list length of the business object.

My question are:
1. Why the code is running well in debug mode?
2. How to recreate the table based on the list length of the business object?
Updated on 2012-10-10T07:50:30Z at 2012-10-10T07:50:30Z by SystemAdmin
  • kolban
    kolban
    3315 Posts
    ACCEPTED ANSWER

    Re: BPM 8 table row reset

    ‏2012-10-08T21:39:07Z  in response to SystemAdmin
    Tables in IBM BPM v8 Coaches are associated with list of business objects. In your story, are each of the two tables associated with the same list of business objects?

    Neil
    • SystemAdmin
      SystemAdmin
      7615 Posts
      ACCEPTED ANSWER

      Re: BPM 8 table row reset

      ‏2012-10-10T07:50:30Z  in response to kolban
      both of the tables are not in the same list of business objects.

      therefore, I create a server script that will delete the second business object list if the first one is deleted.
      but, the table row was not refreshed as it should in the debug mode.