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 - ‏2013-07-17T15:49:10Z by dogren@gmail.com
Tukin_Ivan
Tukin_Ivan
13 Posts
ACCEPTED ANSWER

Pinned topic No search data in terminated process instances

‏2013-07-16T07:25:24Z |

Hello!

 

We have created process and add some searcheble fields. We have set up saved searches using this fields.

What I have noticed, that there is no data for those fields if the process instance is terminated. Is this an expected behaviour ?

In our process there is an event subprocess which terminates parent process after timeout, but we need to see the values of those searcheble variables.

  • 04V0_Rohan_Pereira
    04V0_Rohan_Pereira
    23 Posts
    ACCEPTED ANSWER

    Re: No search data in terminated process instances

    ‏2013-07-17T01:28:06Z  in response to Tukin_Ivan

    You may want to try process inspector view in process admin. You could either do it through the browser or do it via REST call (I was reading the behind-the-scenes REST calls using Firebug

    https://xxx:123/ProcessAdmin/ProcessInspector/rest/v1/processes/search?offset=0&size=20&status=terminated&fromDate=2013-07-17

    --

    status=terminated

    fromDate=2013-07-16
    offset=0
    size=20

    -

    You'll get back a JSON response.

    Updated on 2013-07-17T01:30:32Z at 2013-07-17T01:30:32Z by 04V0_Rohan_Pereira
  • dogren@gmail.com
    dogren@gmail.com
    384 Posts
    ACCEPTED ANSWER

    Re: No search data in terminated process instances

    ‏2013-07-17T15:49:10Z  in response to Tukin_Ivan

    Do you mean "I can't see any business data in the terminated BPDs at all"?

    Or I can see business data from previously completed activities, but not from any partially completed activities that were terminated.

    The former I've never run into before. As gunner4life suggests, maybe you are accidentally filtering them out of your searches with a status filter. (Are you not seeing any business data, or not even seeing the instances in your search.)

    The latter is typical behavior. If the instances is terminated, the uncompleted task never have a chance to do data mapping back into the instance execution context.

    David