#### Example 7: Publishing a report set from a User Task

In this example, you will learn how to publish a report set using a User Task.

1. Take steps 1, 2 and 3 as in Example 1.
2. In the Publish tab of the Schedule dialog,
   1. Click the User Task link to go to the User Task page.
   2. Specify the name of the class that implements the UserTask interface. You need to write this Java class and add the compiled class into the class path of the server.
   3. Give a display name of the class.
   4. Specify the properties of the user task by inputting them directly or import a property file from your local disk.
3. In the Conditions tab,
   1. In the Time sub tab, define the time zone from the Time Zone drop-down list, then from the Time Type drop-down list, choose how you want to schedule the task.
   2. In the Trigger sub tab, select a trigger to bind with the task from the Select a trigger to bind drop-down list, then specify its logic with time condition.

      For detailed information about the logic between the trigger condition and the time condition, see Trigger tab.

4. If you want to notify someone of when the task is finished by sending an e-mail, go to the Notification tab and set the settings.
5. If you want to specify a timeout for the task, specify the settings in the Duration tab as required.
6. Click Finish to have the task performed.

Then, click My Tasks on the system toolbar. When the task is being performed, you can see a record of it in the Running tab and on completion it will be put into the Completed tab.