flexsim_pf_attach
Move a model-level activity inside its ProcessFlow container to attach it to the flow and verify the parent path; window backend only.
Instructions
Move a model-level activity INSIDE its ProcessFlow (window backend only).
Vecinas leidas antes de escribir (sin duplicar nombres de inputs):
flexsim_pf_add_activity (crea a nivel modelo, attached:false),
flexsim_pf_connect (resuelve flow/actividad + token line "A") y
flexsim_processflow_inventory (solo lectura: clase + in/out counts).
Metodo (solo ventana): moveobject(object, containerobject) de la
referencia FlexSim BasicModelingFunctions ("moves the object out of its
current container into its new container") para mover la actividad
creada por pf_add_activity dentro del flow. Verifica con el parent:
Model.find("flow/activity") != NULL tras mover.
Args:
flow: ProcessFlow contenedor (debe existir via Model.find).
activity: actividad a mover (nombre corto, creada a nivel modelo).
Returns JSON {activity, flow, attached, parent_path} (+ error real
cuando attached=false, sin mentir).
Limite: la semantica token de ProcessFlow no esta verificada end-to-end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |