How should the BPM application developer configure the behavior and data mapping for the multi-instance loop?

A construction company is using IBM business process manager to review projects. Every project should be reviews and scored by several subject matter experts (SME) before it is approved.
The number of reviews depends on a business rule that is evaluated at runtime. All the reviews should be executed at the same time by a different SME. Each review is recorded individually and should include the SME user ID. The company decided that no specific order is required for the final list of completed reviews.
If the score of the process reaches the minimal total score required before all the reviews have been completed, the process should continue and all pending review should be interrupted.
For this requirement, a BPM application developer is using a multi-instance loop (user task) and a decision task. The following JavaScript function is included in a server file. The minimumScoreReached function is defined so that the order of the final list of completed reviews is not supported.


Variable in the Business Process Definition (BPD) are defined as follow:


Variable for Score Project task are:


How should the BPM application developer configure the behavior and data mapping for the multi-instance loop? (choose 2)


A. Map review output variable to tw.local.reviews [] in the Otput Mapping section.
B. Map review output variable to tw.local.reviews [tw.local.reviews.listLenght] in the Otput Mapping section.C. Crypto Express4S-1P
C. Write Namespace.minimumScoreReached() in the Complex Flow Condition field
D. Write return Namespace.minimumScoreReached() in the Complex Flow Condition field
E. Add a new step output variable to the human service, and then use the following in the Output Mapping section:
Map step output variable to tw.local.step
Map review output variable to tw.local.reviews[ tw.local.step]

Download Printable PDF. VALID exam to help you PASS.

One thought on “How should the BPM application developer configure the behavior and data mapping for the multi-instance loop?

  1. I suppose it’s should be tw.local.reviews[ tw.local.step.counter], not tw.local.reviews[ tw.local.step]
    Could you please answer where can I found source .twx for multi-instance loop example? – I have problem with data aggregation, and do’not understand what wrong.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.