Script Trigger Reference of GS2-Formation
Reference of event triggers that call extended scripts
Trigger
updateMold
Form Storage Area capacity update
Synchronous Execution Script
The script is executed synchronously before the form storage area capacity update process.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| mold | Mold | Form Storage Area before update |
| afterMold | Mold | Form Storage Area after update |
Result
| Type | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|
| permit | bool | ✓ | Whether to allow Form Storage Area capacity update |
Implementation Example
namespace = args.namespace
mold = args.mold
afterMold = args.afterMold
result = {
permit=permit
}Asynchronous Execution Script
The script executes asynchronously after the Form Storage Area capacity update.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| mold | Mold | Form Storage Area |
Implementation Example
namespace = args.namespace
mold = args.mold
result = {
}updateForm
Form update
Synchronous Execution Script
The script is executed synchronously before the form update process.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| mold | Mold | Form Storage Area |
| form | Form | Form before update |
| afterForm | Form | Form after update |
Result
| Type | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|
| permit | bool | ✓ | Whether to allow form update |
Implementation Example
namespace = args.namespace
mold = args.mold
form = args.form
afterForm = args.afterForm
result = {
permit=permit
}Asynchronous Execution Script
The script executes asynchronously after the Form update.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| mold | Mold | Form Storage Area |
| form | Form | Form |
Implementation Example
namespace = args.namespace
mold = args.mold
form = args.form
result = {
}updatePropertyForm
Property Form update
Synchronous Execution Script
The script is executed synchronously before the property form update process.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| propertyForm | PropertyForm | PropertyForm before update |
| afterPropertyForm | PropertyForm | PropertyForm after update |
Result
| Type | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|
| permit | bool | ✓ | Whether to allow Property Form update |
Implementation Example
namespace = args.namespace
propertyForm = args.propertyForm
afterPropertyForm = args.afterPropertyForm
result = {
permit=permit
}Asynchronous Execution Script
The script executes asynchronously after the Property Form update.
Request
| Type | Description | |
|---|---|---|
| namespace | Namespace | Namespace |
| propertyForm | PropertyForm | PropertyForm |
Implementation Example
namespace = args.namespace
propertyForm = args.propertyForm
result = {
}