If the link condition evaluates to True, the Integration Service runs the next task in the workflow. The Integration Service does not run the next task in the workflow if the link condition evaluates to False. You can also use pre-defined or user-defined workflow variables in the link condition.
1. Double-click the link from the Start task to the Session task.
The Expression Editor appears.
2. Expand the Built-in node on the PreDefined tab.
The Workflow Manager displays the two built-in workflow variables, SYSDATE and WORKFLOWSTARTTIME.
3. Enter the following expression in the expression window. Enter a date later than today’s date:
WORKFLOWSTARTTIME < TO_DATE('8/30/2007','MM/DD/YYYY')
Tip: You can double-click the built-in workflow variable on the PreDefined tab and double-click the TO_DATE function on the Functions tab to enter the expression.
4. Press Enter to create a new line in the Expression.
Add a comment by typing the following text:
// Only run the session if the workflow starts before the date specified above.
5. Click Validate to validate the expression.
The Workflow Manager displays a message in the Output window.
6. Click OK.
After you specify the link condition in the Expression Editor, the Workflow Manager validates the link condition and displays it next to the link in the workflow.
7. Click Repository > Save to save the workflow in the repository.