public java.lang.String getStep(java.lang.String pPropertyName)
Generic method that returns general information on the current step. The list of available information is described in the pPropertyName values table
Parameter |
Type |
Description |
---|---|---|
pPropertyName |
String |
String that contains the name of the requested property. |
The following table lists the possible values for pPropertyName:
Parameter value |
Description |
---|---|
SESS_NO |
Number of the session to which the step belongs. |
NNO |
Number of the step in the session |
NB_RUN |
Number of execution attempts |
STEP_NAME |
Step name |
STEP_TYPE |
Step type |
CONTEXT_NAME |
Name of the execution context |
VAR_INCR |
Step variable increment |
VAR_OP |
Operator used to compare the variable |
VAR_VALUE |
Forced value of the variable |
OK_EXIT_CODE |
Exit code in case of success |
OK_EXIT |
End the package in case of success |
OK_NEXT_STEP |
Next step in case of success. |
OK_NEXT_STEP_NAME |
Name of the next step in case of success |
KO_RETRY |
Number of retry attempts in case of failure. |
KO_RETRY_INTERV |
Interval between each attempt in case of failure |
KO_EXIT_CODE |
Exit code in case of failure. |
KO_EXIT |
End the package in case of failure. |
KO_NEXT_STEP |
Next step in case of failure. |
KO_NEXT_STEP_NAME |
Name of the next step in case of failure |
The current step is: <%=odiRef.getStep("STEP_NAME")%>