Using the Quick Fix Feature
- Procedure
- Type the code in the rule editor as if the entity, property, or rule function you want to use already exists. See
Quick Fix Feature Options for some examples.
You see a lightbulb icon in the left margin on any line where there are unknown references that you can configure using Quick Fix.
- To use the available Quick Fix options, click the lightbulb icon or press Ctrl+1. The options are explained in Quick Fix Feature Options:
Result
The following table explains the arguments.
Argument | Notes |
---|---|
Object
txns |
You can turn this argument into an
Object[] within the rule function, for example:
Object[] array = txns; The resulting array can be used to obtain useful data:
|
int
errorType |
Value can be one of:
|
int
errCode |
The error code, which is dependent on
errorType :
|
String
errMsg |
The associated exception message. |
long
retryCount |
The number of times this transaction has been retried before the present call to the callback. |