Call by Expression
You can use the Program Expression to invoke subroutines, which need to be used throughout the system. Expressions let dynamic calls select programs at runtime.
The only difference between the Call Program and the Call Expression operation is the way you tell Magic xpa which program to call.
You can use the Program Expression operation to:
-
Invoke subroutines
-
Implement one-to-many relationships
-
Implement pick list windows
-
Implement any type of pop-up windows
Exceptions: This operation is not supported for Offline tasks. You cannot call Offline programs from this operation.
The properties of the Program Expression operation are:
Program or Task ID
Arguments
Result
Form
Lock
Sync Data
Returned Context ID
Condition (Cnd)
Call Operations
Call Properties
How Do I Call a Program Dynamically By Its Index?