Trigger Reference of GS2-Formation Script

Reference of event triggers that call extended scripts

Trigger

updateMold

capacity update

Synchronous Execution Script

Script and capacity update are executed synchronously in that order.

Request
TypeDescription
namespaceNamespaceNamespace
moldMoldForm storage area before update
afterMoldMoldForm storage area after update
Result
TypeRequiredDefaultValue LimitsDescription
permitbool
Whether to allow 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 capacity update.

Request
TypeDescription
namespaceNamespaceNamespace
moldMoldForm storage area
Result
TypeRequiredDefaultValue LimitsDescription
Implementation Example
namespace = args.namespace
mold = args.mold

result = {
}

updateForm

Form update

Synchronous Execution Script

Script and Form update are executed synchronously in that order.

Request
TypeDescription
namespaceNamespaceNamespace
moldMoldForm storage area
formFormForm before update
afterFormFormForm after update
Result
TypeRequiredDefaultValue LimitsDescription
permitbool
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
TypeDescription
namespaceNamespaceNamespace
moldMoldForm storage area
formFormForm
Result
TypeRequiredDefaultValue LimitsDescription
Implementation Example
namespace = args.namespace
mold = args.mold
form = args.form

result = {
}

updatePropertyForm

property form update

Synchronous Execution Script

Script and property form update are executed synchronously in that order.

Request
TypeDescription
namespaceNamespaceNamespace
propertyFormPropertyFormPropertyForm before update
afterPropertyFormPropertyFormPropertyForm after update
Result
TypeRequiredDefaultValue LimitsDescription
permitbool
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
TypeDescription
namespaceNamespaceNamespace
propertyFormPropertyFormPropertyForm
Result
TypeRequiredDefaultValue LimitsDescription
Implementation Example
namespace = args.namespace
propertyForm = args.propertyForm

result = {
}