Run if connection settings
About this task
In the Basic settings view of a Run if connection, you can set the condition to the subJob in Java.
You can use variables in your condition. Pressing Ctrl+Space allows you to access all global and context variables. For more information, see Using variables in a Job or Route.
Information noteWarning: When adding a comment after the condition, be sure to enclose it
between /* and */ even if it is a single-line comment.
In the following example, a message is triggered if the input file contains 0 rows of data.
![Basic settings view of the connection.](/en-US/studio-user-guide/8.0-R2024-07/Content/Resources/images/ConnectTrigger_RunIf.png)