Action
Action that runs logic on the client side.
Exposed Client Action
An Action cannot be exposed when:
- It has a parameter that is defined using an Entity/Structure that is not exposed.
- It has a parameter that is defined using an Entity/Structure that is reused from another module.
In case the execution of the Producer and Consumer modules are under different User Providers, the modules have different sessions. In this case, variables associated to the session can hold different values between modules.
Client Action
| Name | Description | Mandatory | Default value | Observations |
|---|---|---|---|---|
| Function | Set to Yes to define the action as a function. Functions must return a value and can be used in expressions. | Yes | No | 此属性仅在全局作用域操作中可用。客户端操作设置为函数只能在客户端操作表达式中使用. |
Server Action
| Name | Description | Mandatory | Default value | Observations |
|---|---|---|---|---|
| Function | Set to Yes to define the action as a function. Functions must return a value and can be used in expressions. | Yes | No | 此属性仅在全局作用域操作中可用。设置为函数的服务器操作只能在服务器操作表达式中使用. |