Customize

Define Value by Gusuku Environment

Summary

Define values that are determined according to the gusuku environment such as the development environment and production environment.

How to use

Using gusuku Deploit, you can manage apps by separating spaces and domains for each “environment” such as “development environment” and “production environment.” In Customine, you can run a single customization in different “environments” of the same app.

It is convenient for a customization to run the same way in different environments, but on the other hand, there are cases where “some configuration values want to be changed according to the environment.” For example, there are cases where you want to separate the Lambda functions executed in the development environment and the production environment, such as “Invoke AWS Lambda Function.” By using “Define Value by Gusuku Environment,” you can set different values according to the environment, such as “Sample_Development” for the development environment and “Sample_Production” for the production environment.

When you execute the action set to “Define Value by Gusuku Environment”, the values will be selected based on which gusuku environment the running Kintone app belongs to. The value will become the action’s result and can be referenced from other actions using $1, etc.

In standard Customine customization that is not integrated with Deploit, there is only one environment. In that case, executing “Define Value by Gusuku Environment” will not result in an error, but it will always return the value of that one environment, so there is no need to use “Define Value by Gusuku Environment.”

Parameters

Set Value by Environment.

Value by Environment

The environment name of gusuku is displayed on the left side of the list, enter the corresponding value on the right side.

It is possible to empty the value for some environments, but it is not possible to empty everything.

This parameter cannot use expressions.

Restrictions

  • You cannot use the expression in “Value by Environment.”
  • Portal customization is not supported.
  • The parameters stored in an encrypted form cannot be separated by environment with “Define Value by Gusuku Environment.” To set values according to the environment for the parameters to be encrypted, use “Define Password by Gusuku Environment.”