Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Best practices for updating large volumes of data using Script Action

MizukiW
Tera Contributor

コントロール(最大7万件)のStateをAttestに一括で変更したいのですが、120件以上選択して[Attest]ボタンを押すと、処理が途中で終了します。
そのため、非同期処理に変更したいと思っています。

 

実装イメージ:List Action[Attest]でEventを生成し、Script ActionでStateをAttestに更新する処理を実施。

 

質問:

①Script Actionで大量データを更新するときのベストプラクティスを教えてください。

②一括State変更の際、UpdateMultipleを使用しようと思ったのですが、AIに聞くとビジネスルールが動かない(=Attestationが生成できない)と言っています。これは本当でしょうか?

 

***********************************************************************************************

I want to bulk-update the "State" of records (up to 70,000 items) to "Attest," but the process terminates prematurely if I select more than 120 items and click the [Attest] button.
Therefore, I would like to switch to an asynchronous process.

The intended approach is to generate an event using the [Attest] button (List Action) and then update the state to "Attest" via a Script Action.

① Please tell me the best practices for updating large volumes of data using a Script Action.

② I considered using `UpdateMultiple` for the bulk state change, but AI informed me that business rules do not execute (meaning attestations cannot be generated) when using it. Is this true?

0 REPLIES 0