Skip to content

Move Multiple Records to Parent Node

Feature Description

Move multiple record data to the specified parent node

Parameter Settings

Configuration ItemDescription
Data TableRecord's data table type
Child Object FieldChild Object field that stores parent-child relationships
Record IDs to MoveRecord ID or Record ID array that need to be moved
Parent Record Selection SettingSpecify Parent Record ID Select by User
Parent Record IDParent node's record ID; if empty, child records will be moved to the root node

Example

In the data table, if we want to move multiple records to a specified parent node, we can add a button with the execution action Move Multiple Records to Parent Node to achieve this. In the work task module shown below, I want to move the two tasks "Submit Recruitment Requirement" and "Publish Recruitment Information" to the task "Recruit Employees". We can select the two records "Submit Recruitment Requirement" and "Publish Recruitment Information", right-click on the "Recruit Employees" task, and click the "Add to This Task" button to complete the operation.

To configure the above add button, you need to add an add button to the toolbar of the form page of the category type field. Select Move Multiple Records to Parent Node as the execution action in the configuration item, and select the current module in the Data Table configuration item. In this case, we select "Work Task".

In the configuration item Child Object Field, select a field in the data table that needs to be a child object record. In this case, we select the "Subtask" field. In the configuration item Record IDs to Move, enter the IDs of the records that need to be moved, which can be obtained through expressions. In the configuration item Parent Record Selection Setting, you can select the way to obtain the parent record, with options Specify Parent Record ID and Select by User. In this case, we use "Specify Parent Record ID". In the configuration item Parent Record ID, enter the ID of the parent record of the child record to be created, which can be obtained through expressions; this can only be set when "Specify Parent Record ID" is selected. The configuration content of this case is as follows.