您在此处:
在批处理作业的基于文件和基于条件的处理之间进行选择
在创建批处理作业时,您可以通过上载具有特定记录 ID 的文件或定义筛选记录的条件来选择处理的记录。
您在此处:
在创建批处理作业时,您可以通过上载具有特定记录 ID 的文件或定义筛选记录的条件来选择处理的记录。
| 查看支持版本。 |
上载包含您想要处理的记录的唯一标识符的 CSV 文件。批处理作业仅在文件中列出的记录上运行。当您拥有要处理的特定记录的预定义列表、从另一个系统或团队接收包含需要更新的记录的文件、想要在不创建复杂的筛选逻辑的情况下运行一次性操作、想要允许用户通过屏幕流上传文件,或者您的组织从外部系统接收定期文件上传时,这种方法效果很好。
基于文件的处理可以快速设置为一次性操作,最适合临时更新。您上载带有特定 ID 的 CSV 文件,该文件最多可包含 10,000 个记录 ID。记录列表是固定的,这意味着批处理作业完全处理您在文件中指定的记录。当您拥有特定的记录 ID 列表时,或者当您需要比创建筛选条件更快的一次性更新时,请使用这种方法。
使用条件来识别要处理的记录。您定义筛选条件,批处理作业会查找匹配的所有记录。当记录共享易于识别的公用字段值,您需要以一致的逻辑运行重复操作,记录集随时间变化,并且您希望作业自动包含新的合格记录,或者您没有预定义的特定记录 ID 列表时,这种方法效果很好。
基于条件的处理需要定义筛选器逻辑,但最适合重复操作。根据当前数据,记录选择是动态的,这意味着批处理作业会查询数据库,以查找匹配条件的所有记录。记录限制由批处理大小设置决定,而不是由固定的文件大小决定。当您将定期运行操作时,当您的记录共享便于自动查找的公共字段值时,或者当您需要每次根据当前字段值灵活处理不同记录时,请使用这种方法。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.