Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

[SFS] - OAAS Class Resource Schedule Optimization behavior with "candidateSas"

公開日: Apr 20, 2026
説明

When using the resourceDayOptimization method from the OAAS class with the candidateSas parameter, if the candidateSAs set is empty (containing no Service Appointments), running the RSO may result in the optimizer scheduling the "None" status Service Appointments despite they not being available in the candidateSAs set.

解決策

When the candidateSas set is empty ([]), the system interprets it as null, and the constraints are not applied. Hence, new Service Appointments can be scheduled by the optimizer (None -> Scheduled).

To avoid this behavior, you can set the candidateSasFields parameter to a field like isDeleted or another field that no Service Appointment satisfies. This will avoid any "None" Service Appointments to get scheduled.

その他のリソース

See Also:

ナレッジ記事番号

005318898

 
読み込み中
Salesforce Help | Article