I have a sub process in my model and there is a drop-off block inside that (image). I want the drop-off element type could be set in model. I mean that I want to use this sub process in every part of model with different element types. so I used a parameter and set its type as an Agent and its control type is Agent Creator (image). but the problem is that in the drop-off element type field I cant use that because that parameter is unknown in that field.
Asked
Active
Viewed 58 times
1 Answers
0
The functionality you described is called 'parametrised Agent'. This can be achieved by ticking Parametrized type
checkbox in the Advanced Java area of the Agent's properties see screenshot below.
In the example pictured the parametrised type is called T
. This then has to be set into the Element Type field of the Dropoff component. For more info please see Agent help and generic parameters help.

Artem P.
- 816
- 1
- 6
- 8