"Call a function" behavior inside "Loops" is not working as expected in KAC (3DExperience - Catia)

PRASANNA MUTHURAMALINGAM

"Call a function" behavior inside "Loops" is not working as expected in KAC (3DExperience - Catia)

I am currently developing a KAC app for which i need to call a function(i.e., exposed sequence) inside a loop behavior.

The exposed sequence linked to "Call a function" behavior gets called only for the very first iteration, and nothing happens in next iterations.

Steps to reproduce

1. Create a Know-how component app.

2. Add a "loop" behavior under user operation (Modify Number of Iteration attribute to more than 1).

3. Inside loop create "call a function" behavior.

4. Create a new sequence under root node.

5. Add a "Display Information" behavior under this sequence.

6. Expose the created sequence.

7. Link this sequence with the created "Call a function" behavior created in steps-3.

8. Run the application from a physical product.

Expected behavior - The app should display a message as many times as iterations in loop.

Actual behavior - Only for the first iteration the message appears, not for the next iterations.

 

Did anyone came across a scenario to use "Call a function" behavior inside "Loop"?

If yes, let me know how you handled this scenario? 

Attached screenshot for reference.

 

Thanks,

P M

Attachments

  • Loop_In_KAC.PNG (89.5k)