Managing wait for time tasks
A wait for time task can be finished only at a specific time.
Wait for time tasks provide milestones for critical tasks. With wait for time tasks, you can ensure that important tasks start at the expected time. Typically, you make a wait for time task a prerequisite for an important task that must start at a specific time.
A wait for time task starts as soon as it is otherwise eligible to run, and finishes at a user-specified time. A started wait for time task has a status of In Progress until it reaches its specified, planned-for time, when it changes to a status of Finish.
- From the IBM® UrbanCode™ Release dashboard, click Releases & Deployments, and then click Deployment Plans.
- On the Deployment Plans page, click the name of the deployment.
- On the plan page, click Add Task for the segment where you want to add the task, and then select Wait for Time Task.
- In the Add Wait for Time Task window, in the Task Name field, enter a name for the task.
In the Planned Time field, enter the wait time for the task or select it
from the Planned Time list, and then click Save.
The task is inserted into the segment. The time is the time that the task finishes and that dependent tasks, if any, can start.Note: Normally, if a wait for time task starts after the planned time, the task will immediately finish. If, however, you schedule a deployment to start after the planned time for the wait for task, the task will wait until the following day to start.
To add a task tag to the task, complete these steps.
Tags can be viewed from deployment plan page. You have the option to view or hide task tags using the View Tags / Hide Tags toggle switch at the top of this page.
- In the Edit Task window, click the Task Tags icon, .
In the Task Tags dialog box, select the tag.
You can select multiple tags.
To create a tag, click Edit Tags, and then click Add
In the Name field, type a name for the tag, select a color, and then click Save.
The tag is added to the task.
- Optional: Click the Delete icon for a tag to remove it from the task.
- Optional: By default, tasks
are available for all environments and all deployments that are associated
with the release. To change this pattern, complete these steps:
- On the Edit Task page, click Environments.
- In the Pattern area, select one of these options
to change the task frequency:
- Always Run, to make the task available for every deployment.
- Run Once Per Environment, to restrict the task to one deployment per environment.
Select environments for the task.
The task is active for the selected environments. By default, the task is active for every environment that is associated with the release. Tasks that are not active for an environment have the Not Applicable status, , when you deploy to an ineligible environment. You can override the status when you run a deployment by reopening the task.
To add attachments to a task, complete the following steps:
To see an attached file, click the file name. Depending on the file type, you are prompted to choose an application with which to open or view the file.
- On the Add Task page, click Attachments, and then click Add Attachment.
- In the Add Attachment window, click Browse, and then select a file.
- Optional: In the Description field, describe the attached file.
The file is attached to the task and listed in the Attachments tab. To remove an attachment, click Delete.
By default, task attachments are stored in the ucr_installation/attachements directory. You can change the default location by modifying the
attachments.folder.pathproperty in the ucr_installation/conf/installed.properties file. For example,