This article expands on how the threshold for the workflow’s “Stop data processing if:" setting is calculated.
The “Stop data processing if:" setting will take in consideration the scoped source. So if you set it to 10%, it will suppress the step from running if the number of objects that are affected exceed the 10% threshold.
Here is the the calculation code snippet:
“this.currentStepRunContext.ExecutionStorage.SourceImportStorage.GetAllNotFilteredObjectsCount() * this.thresholdOptions.ThresholdCount / 100;”
The code sniplet above translates to this:
Source Connection’s Processed Objects * Threshold configured / 100
The Scope configured at the connector level is considered when importing the objects from the connected system. Finally, while calculating the number of objects to be Provisioned/Updated, the SCOPE configuration specified in the Workflow is the one that is considered.
For ex.: you’ve configured two containers A (with 10 objects) and B (with 10 objects), of the connector’s scope. And, on the workflow you have configured the scope as container “A” only and removed container “B”. The number of processed objects on the workflow will be 10 and NOT 20.
And, if the % is set as 60, number of allowed objects for commit would be 10*60/100=6.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center