The below parameters are ignored by purgeTerminatedProcessInstances API while purging process instances in the FAULTED state.
threshold
batchSize
applications
Issue/Introduction
Parameters are ignored by purgeTerminatedProcessInstances API while purging process instances in FAULTED state
Environment
ALL
Resolution
The mentioned parameters will not take effect while invoking purgeTerminatedProcessInstances API to purge process instances in the FAULTED state. For faulted PIs, the threshold/batchSize/applications(applicationName) parameter is ignored. The only filters that work are processTemplates(moduleName/processName) and processInstances. This will be documented in a future release.