Skip to main content

Batch process

In batch processing, you can view a list of registered batches.
For batches registered from custom batch templates, you can navigate to the edit screen of the corresponding batch template by clicking on the title.

Batch list​

Accessing the screen​

In the left sidebar menu, click [Operation] -> [Batch process].

Image from Gyazo

Click on the [Advanced search] button to open the advanced search panel.

Image from Gyazo

You can set up the filter conditions.

Image from Gyazo

Item descriptions​

Image from Gyazo

ItemDescription
SearchFilter the batch processes by module, status, and batch frequency.
Display field settings (gear icon)You can configure the fields to be displayed in the list. See Display field settings for details.
 ID ID of the batch process.
ModuleFunction used by the batch process.
TitleTitle of the batch process.
IdentifierIdentifier of the batch process.
StatusStatus of the batch process.
TypeFrequency or type of the batch process.
Run date (scheduled)Scheduled run date and time for the batch process.
Last run timeDate and time of the last run.
Execution time(ms)Processing time of the previous run, in milliseconds.
Batch processes that have not started yet also show the processing time of their previous run if they have been run before. The field is empty for batch processes that have never been run.

Display field settings​

Click the gear icon in the top right-hand corner of the list to open the display field settings dialog.
You can set the fields to be displayed in the batch list. The fields described in Item descriptions are always displayed and cannot be hidden.

ItemDescription
Display fieldDrag and drop the fields to rearrange the display order.
SelectSelect and add from a list of fields to be displayed in the list.
CancelCancel any changes made to the settings.
ApplyApply the configured settings.

The following fields can be added in the display field settings.

ItemDescription
Insert dateDate and time the batch process was registered.
Updated onDate and time the batch process was last updated. It is also updated when the batch process runs.
Executed OnConfigured execution time.
Start Time(ms)Start time of the previous run, as a number in milliseconds (UNIX time).
Module IDID of the data targeted by the batch process.
Extended dataData passed to the batch process ($ext_data).
LanguageLanguage set for the batch process.
MemoComment or memo entered for the batch process.
ResultResults of the last run.
Batch SmartyProcessing content of the batch process.
Run by Member IDMember ID used to run the batch process.
Test DataTest data set for the batch process.
Component(s) usedCustom functions and APIs used in the processing.
Template Batch IDFor batch processes registered from a batch template, ID of the source batch template.

Bulk actions​

Image from Gyazo

You can perform the following bulk actions by selecting multiple batch processes using the checkboxes in the left-most column.

ButtonDescription
Run nowRun the selected batch processes.
EnableEnable the selected batch processes.
DisableDisable the selected batch processes.
DeleteDelete the selected batch processes.

Batch editor​

Accessing the screen​

In the left sidebar menu, click [Operation] -> [Batch process].

Image from Gyazo

On the batch list screen, click the title of the batch process you want to edit.

Image from Gyazo

Item descriptions​

ItemDescription
TitleEnter a batch process title.
IdentifierIdentifier of the batch process.
TypeSelect the batch frequency or type.
Member IDThe batch will operate as if logged in with the entered member ID.
This is equivalent to having {login member_id=x} written at the beginning of the process.
MemoEnter any comments or memos about the batch process.
Component(s) usedFunctions or APIs used by the batch process.
Test dataEnter the $ext_data JSON data for testing.
ProcessScript for the batch process.
caution

Only super users can save or test content that contains the Smarty plugins handling credentials and secrets (login / api_mng / api_internal / assign_api_credential / api_token / secret / assign_rcms_conf / gcloud_functions_token). Content editors cannot save or test it even if they have the edit permission for batch processing. This also applies to edits that do not touch these plugins (for example, changing only the execution time). See Smarty Plugin for details.

Actions​

Image from Gyazo

ButtonDescription
UpdateApply all changes made in this editor.
TestExecute a test run of the current batch process.

Support

If you have any other questions, please contact us or check out Our Slack Community.