Context.getLoopCountByID()
The method returns the current loop count for a specific loop activity.
- Availability
-
IBM® Tivoli® Identity Manager 4.x
IBM Tivoli Identity Manager 5.x
IBM Security Identity Manager 6.x
IBM Security Identity Manager 7.0.
- Synopsis
context.getLoopCountByID(String activityDefinitionID)
- Arguments
-
- activityDefinitionID
- ID of the activity definition.
- Returns
- Integer
- Description
- This member function returns the current loop count for a specific loop activity. If this function is called before the loop is started, the loop count is 0. If this function is called while the loop activity is in process, the loop count is the number of times the loop ran. If this function is called after the loop is completed, the loop count is the total number of times the loop is defined to run.
- Usage
currentiteration = context.getLoopCount("1234567890");