Package com.mendix.core.actionmanagement
Interface MicroflowCallBuilder
- All Superinterfaces:
- ActionCallBuilder
Provides a builder for building a microflow call. The builder can be used to add arguments and eventually call the microflow.
- 
Method SummaryModifier and TypeMethodDescriptioninTransaction(boolean executeInTransaction) Specifies whether the microflow should be called in a transaction scope.withExponentialRetry(int numberOfAttempts, Duration initialInterval) Performs the specified number of retries if the execution of the action fails with an exception.withExponentialRetry(int numberOfAttempts, Duration initialInterval, Duration maximumInterval) Performs the specified number of retries if the execution of the action fails with an exception.Adds the specified parameter to the microflow call.default MicroflowCallBuilderwithParams(Map<String, Object> params) Adds multiple parameters to the microflow call.Performs the specified number of retries if the execution of the action fails with an exception.Methods inherited from interface com.mendix.core.actionmanagement.ActionCallBuilderexecute, executeInBackground, executeInBackground
- 
Method Details- 
withParamAdds the specified parameter to the microflow call.- Parameters:
- name- the name of the parameter
- value- the value for the parameter
- Returns:
- the updated builder
 
- 
withParamsAdds multiple parameters to the microflow call.- Parameters:
- params- the parameters to add
- Returns:
- the updated builder
 
- 
inTransactionSpecifies whether the microflow should be called in a transaction scope. This setting is ignored when executing the microflow as a background task.- Parameters:
- executeInTransaction- true if the microflow must be run in a transaction; false otherwise
- Returns:
- the updated builder
 
- 
withRetryDescription copied from interface:ActionCallBuilderPerforms the specified number of retries if the execution of the action fails with an exception. A fixed delay is used in between the retries. This setting only applies to actions that are executed as a background task.- Specified by:
- withRetryin interface- ActionCallBuilder
- Parameters:
- numberOfAttempts- the maximum number of times to retry
- interval- the time to wait in between attempts
- Returns:
- the updated builder
 
- 
withExponentialRetryDescription copied from interface:ActionCallBuilderPerforms the specified number of retries if the execution of the action fails with an exception. An exponentially increasing delay is used in between the retries. The interval doubles each time, up to a maximum of 1 day. This setting only applies to actions that are executed as a background task.- Specified by:
- withExponentialRetryin interface- ActionCallBuilder
- Parameters:
- numberOfAttempts- the maximum number of times to retry
- initialInterval- the time to wait before the first retry
- Returns:
- the updated builder
 
- 
withExponentialRetryMicroflowCallBuilder withExponentialRetry(int numberOfAttempts, Duration initialInterval, Duration maximumInterval) Description copied from interface:ActionCallBuilderPerforms the specified number of retries if the execution of the action fails with an exception. An exponentially increasing delay is used in between the retries. The interval doubles each time, up to the specified maximum. This setting only applies to actions that are executed as a background task.- Specified by:
- withExponentialRetryin interface- ActionCallBuilder
- Parameters:
- numberOfAttempts- the maximum number of times to retry
- initialInterval- the time to wait before the first retry
- maximumInterval- the maximum time to wait in between attempts
- Returns:
- the updated builder
 
 
-