Previous Topic: Upload the ApplicationNext Topic: Locate a Job in the Application Workspace


Simulate the Event

You simulate Events using different run conditions to verify that the correct jobs are selected to run in the Application and that the jobs run in the correct order. If your Application includes JavaScript scripts, you can also simulate Events to check for JavaScript errors and review the resolution of symbolic and global variables that are resolved at trigger time. Before you simulate, verify that you have uploaded the latest version of your Application to the server.

Note: You can also simulate your Event from the Services perspective. In the Events view, right-click the Event and select Simulate from the pop-up menu.

Follow these steps:

  1. Right-click the Event that you want to simulate in the Application Events view, and select Simulate from the pop-up menu.

    The Simulate Event dialog opens.

  2. Click the button next to the Schedule criteria field to build your schedule criteria.

    Note: If you are familiar with the scheduling terms, you can type your schedule criteria, such as FRIDAYS, directly in the When field.

    The Simulate dialog opens.

  3. Specify the scheduling terms using the following steps:
    1. Select an option from the Occurrences section.

      You can select a relative occurrence (1st, 2nd, 3rd, 4th, Nth, Nth last, last) or a specific date.

    2. (Optional) Select a day from the Type of Day section if you selected an occurrence other than Date.

      You can select relative days (day, weekday, workday, or holiday) or a specific day of the week. You can also select holidays and special days that are defined in your calendar.

    3. (Optional) Select a period from the Period section if you selected an occurrence other than Date.

      You can select relative periods (week, month, or year) or a specific month. You can also select a special period that is defined in your calendar.

    4. Click OK.
  4. (Optional) Complete the following fields as appropriate:
    Root jobs to run

    Specifies a subset of jobs in the Application that you want to simulate.

    Note: You can separate the list of jobs to run with commas. For example, enter A,B,C. To select a job with all of its successors (descendants), you can append a plus sign (+). For example, enter D+.

    User Parameters to pass to Event

    Specifies the parameter fields to pass user information to the Application during the simulation.

  5. Click OK.

    The simulation opens in a separate window. On the left pane, a graphical representation of the Application displays the jobs that are selected to run based on the simulation criteria you specified. On the right pane, the details of the corresponding job definitions appear.

    Note: To display the job details, from the main menu click Window, Preferences, Desktop Client, Services Perspective, Simulate, and select the View Job Details text check box.

Example: Simulate a Sample Application

Suppose that jobs A, B, C, and D run every day. On Fridays, job E also runs. On the last workday of the month, job F also runs. Depending on the day, the server selects different jobs to run and builds the Application with the selected jobs.

For this Application, you could test the job's run criteria, using the Schedule criteria field of the Simulate Event dialog, to simulate on the following days:

You have successfully defined an Application. The Application can now run.

More information:

Workload Simulation