Job Runner

remove Option Values From Multiple Choices Allowed Field

Overview

Deselect an item in the currently selected state in a field of type that allows multiple selections to be selected, leaving it unselected.

Usage

For example, suppose a field is a checkbox and there are four selection items set in the App settings: Breakfast, Lunch, Dinner, and Night Snack. If the User has two selection items selected on the record edit screen, Breakfast and an action is performed with Breakfast set to value to remove, Breakfast will be deselected and only Lunch will be selected.

This is not particularly true if the selection items you have set to value to remove are not already selected. In the above example, if the User selects Breakfast and tries to deactivate Dinner, no error occurs and the selection remains Breakfast and Lunch.

If you perform this Do, the field value is changed from its original value, and records are reserved for saving. Updated records are not saved immediately but automatically after all actions in the job are finished. Use Save Modified Record to save the updated records at a different time.

You will need an API Token with the edit record permission for the app when autosaving. Make sure to Set Kintone API Token in another action and set the API Token for the Kintone app, if you want to save the Modified Source Record at a different time.

Parameters

Set Record, Field, and Value to Remove.

Record

Select the Action you used to import the target records.

If multiple records are included, it is processed for each record. If there are no records, nothing is done.

field

Select the Target field.

This parameter accepts the following field types:

  • Check box
  • Multi-choice
  • User selection
  • Department selection
  • Group selection

You cannot include fields that are within a table.

value to remove

Specify the value to remove.

You can also unset multiple values using the following expression:

=["Breakfast", "Lunch"]

If the field is for user selection, specify the login name, not the display name.

If the field is for group or department selection, specify the group or department codes.