Job Runner

When One Record is Ready

Summary

Execute the action when the retrieved record is ready for use.

When an action retrieves multiple records, it will trigger the same number of times as the number of records. It will be activated when some records have been retrieved, even if the retrieval of all records is not yet complete.

How to Use

This is used in actions that retrieve records, such as “ Retrieve All records”, to perform actions on each retrieved record individually. To do something after all the necessary records are ready, use “when all records are ready” rather than doing something line by line.

“when one record is ready”, the condition occurs the same number of times as the number of records obtained in the original record acquisition action. For example, if the record retrieval action retrieves ten records, the condition will occur ten times, and the action will also be executed ten times. Conversely, if the action does not retrieve any records, the “when one record is ready” does not occur, and the action is not executed.

If the record retrieval action retrieves multiple records, the action set for “when one record row is ready” will be executed in parallel. Processing of the second line record begins without waiting for the processing of the first line record to finish.

If there are many records to be retrieved, it takes time to retrieve all the records. Additionally, trying to retain all records may cause a memory error. “When one record row is ready,” conditions will occur as soon as some records can be retrieved without waiting to retrieve all records. There will be no retention of all records, so memory errors are less likely to occur.

There are points that require attention. “When one record row is ready,” the original record cannot be referenced in its entirety. Therefore, this condition is unsuitable for performing “Do” that aggregates records. To customize using all records, use “when all records are ready”.

Parameter

Set Get Record Action.

Get Record Action

Select which action to perform when a record is obtained from the “Do” set to get records.