Let me guide you on how to pass Document ID to table column with a block.
For example,
Create Test 1 and auto create Test 2 and pass Test 2 Document ID to Test 1 Table Column. Before that, need a field in Test 2 to capture Test 1 Document ID as well.
Automation at Create Test 1 Module
Description: Auto Create Test 2 by passing value from Test 1 table row
When execute Create do Automation
- Click ‘After executing’
- Drag & drop For block
- Input #Entry#Details, each item
- Drag & drop Action block link to each
- Click + Add Action
- Select Perform
- Module Test 2 → this is the Module which going to pass the value
- Activity Create
- Click Expand Property
- Select the data entry and the passing value
- Click OK
Automation at Create Test 2 Module
Description: After Create Test 2, reupdate Test 1 by passing Test 2 ID to the table column
When execute Create do Automation
- Drag & drop Action block
- Click + Add Action
- Module : Test 1
Activity : Edit
Entry : #Entry#Test 1 ID
- Drag & Drop Condition block
- Input #Test 1 Edit Form#Details.Count>0
- Drag & Drop For block
- Input #Test 1 Edit Form#Details, each row
- Drag & Drop Action block
- Click + Add Action
- Click Create
- Input value find(#Test 1 Edit Form#Details#Description == #row#Description)
- Click + Add Action
- Click Set
- Variable : #line
Value: Click expand Property
Select Test 2 ID → this is the column in the table
Input #Entry
- Drag & Drop Action block
- Click Perform
- Module : Test 1
Activity : Edit
Entry : #Entry#Test 1 ID
Form : #Test 1 Edit Form