Jump to content

Change State of each entity of specific type


bennodual
 Share

Recommended Posts

Hi


I want to change a state-variable of each entity of a specific type. I am trying to reach this goal by using a search-step in a Process. The process is executed correctly but the search-step is not doing anything.


I have set the following values for the search-step:


CollectionType: EntityPopulation

Entity Type: Besucher

Search Type: Forward

Match Condition: True

Limit: Infinity


The goal is that each entity of Type Besucher should flow to the "Found"-Branch where I have created an assign-step for changing the state.


But the Step following the "Found"-Branch is never reached and also the Step following the "Original"-Branch is never reached (I have set a breakpoint at thia steps.)


I have also attached a screenshot.


I hope, someone can help me.

2016-12-19_17-16-44.png.046147e1d2cd4e9d4b8d5a0765364252.png

Link to comment
Share on other sites

Is the search step being executed? Have you tried a break point on that step? If tokens are entering that step but not exiting through either the "original" or the "found" branch that would imply a pretty major bug, I think :D


Can you post an example model demonstrating the behavior you are seeing?


-Adam

Link to comment
Share on other sites

×
×
  • Create New...