Defines the end of the flowchart branch modeling the task process for resource unit(s) (usually it is a wrap-up process).
In the figure below you can see the example of the wrap-up task. You define the wrap-up task as a flowchart branch starting from the lower port of Release block and ending with the ResourceTaskEnd block.
-
If selected, the resource(s) will be moved to their home location on finishing the task.
Value type: boolean
Default value: true
Local variable: unit — the resource unit. -
If selected, the resources seized by this resource unit, will be released.
Value type: boolean
Default value: true
Local variable: unit — the resource unit.
- On exit
-
Code executed when the resource unit exits the ResourceTaskEnd block.
Local variables:
unit — the resource unit.
Agent agent — the agent which was serviced before this wrap up. - On remove
-
Code executed when the resource unit is intentionally removed from this block by calling the unit’s function remove(). This code is automatically executed after the remove() function call.
Local variable: unit — the resource unit.
Function | Description |
---|---|
long count() | Returns the number of resource units passed through this block. |
- in
- The input port.
-
How can we improve this article?
-