About the Schedule Entry and Scheduled Jobs Workspaces
4 min
about the schedule entry and scheduled jobs workspaces the schedule entry workspace enables you to create a variety of schedules to be used in different functions, such as using time zones within the time object these schedules appear in a drop down list within corresponding workspaces the schedule must be created in schedule entry before it will appear in other places time zone is not yet available in the request offering time control this will be considered in a future release accessing the schedule entry and scheduled jobs workspaces do one of the following from the service desk console, log in as an administrator and open the schedule entry workspace from the configuration console, click monitor > scheduled jobs to view the scheduled jobs workspace a list of schedules appear several default schedules come with , but you can modify these or create your own schedules see default schedules docid\ ydrp9iysn8qqx0bwa4mrz double click an item from the list to view details creating a schedule do one of the following from the service desk console, open the schedule entry workspace from the configuration console, click monitor > scheduled jobs click new on the toolbar, choose the type from the drop down list (daily, hourly, monthly, onetime, weekly, or yearly) the schedule is displayed enter information into the fields field description name a unique name for the schedule, such as weekly baseline report start time the start time, including a time zone by default, the application uses the local time based on your machine end time the end time, including a time zone by default, the application uses the local time based on your machine recur every the number of units after which to schedule the next entry this field is not applicable for the onetime schedule entry start date the date to start the schedule end date the date to end the schedule no end date specifies that the schedule runs forever or until it is deleted the time zone used is based only on the time field (as opposed to a datetime field) further options appear according to the schedule type daily docid\ oly9b8ak4f7dbrbymcikfhourly docid\ oly9b8ak4f7dbrbymcikfweekly docid\ oly9b8ak4f7dbrbymcikfmonthly docid\ oly9b8ak4f7dbrbymcikfonetime docid\ oly9b8ak4f7dbrbymcikfyearly docid\ oly9b8ak4f7dbrbymcikf daily daily recurring schedule form option description recur every days the number of days between each run for example, to run the schedule every other day, enter 2 all day event lets the schedule run an entire day without a specific start and end time to run multiple imports or exports of the same data each day, you need to create multiple entries for example, to run an import in the morning and in the afternoon each day (twice a day), create a schedule for the morning run and another for the afternoon run hourly hourly recurring schedule form option description recur every hours the number of hours between each run for example, to run the schedule every other hour, enter 2 weekly weekly recurring schedule form option description recur every weeks the number of weeks between each run for example, to run the schedule every other week, enter 2 days of the week the specific days of the week for the schedule to run monthly monthly recurring schedule form option description method 1 the cardinal day number (such as 5 or 26) of every number of months for the schedule to run method 2 the ordinal day number (such as the first tuesday or last saturday) of every number of months for the schedule to run if you get an error message ("the following information does not satisfy validation constraints "), you must do the following if using method 1, create a new required rule for daynumber if using method 2, update the required rules for weeknumber and weekday weeknumber is required delete the required rule for recurevery in its place, add a new initialization rule for recurevery, and set it to 1 onetime onetime schedule form the onetime schedule entry is used to create and run a schedule for a single time after the schedule is run at the set date and time, it gets deleted for this option is available to you only if you apply the advancescheduleentry metadatapackage from marketplace and set the enableadvancedscheduleentry option in global constant as true the business objecy used for this schedule entry is scheduleentry onetimeschedule yearly yearly (annual) recurring schedule form option description recur every years the number of years between each run for example, to run the schedule every other year, enter 2 method 1 the specific day of the year for the schedule to run (such as march 1) method 2 the ordinal day number (such as the first tuesday of january or the last saturday of july) for the schedule to run click save modifying a schedule from the configuration console, click monitor > scheduled jobs to view the scheduled jobs workspace double click the schedule to modify the schedule settings appear change the settings as needed click save deleting a schedule use caution when deleting a schedule, as unpredictable results could affect related functions from the configuration console, click monitor > scheduled jobs to view the scheduled jobs workspace select the schedule to delete click the delete icon the schedule no longer appears in the list configuring the time zone control about the time zone control docid\ oly9b8ak4f7dbrbymcikfhow the time zone control works docid\ oly9b8ak4f7dbrbymcikfremoving the existing time controls from the forms docid\ oly9b8ak4f7dbrbymcikfactivating the time zone control docid\ oly9b8ak4f7dbrbymcikfplacing the time zone controls onto the forms docid\ oly9b8ak4f7dbrbymcikf about the time zone control the time zone control is automatically included in schedule entry forms users who have created forms prior to this version and who want to use time zones in their forms must manually replace the time field with the time zone field if a daily schedule in the scheduled jobs workspace shows only time fields for start and end time, then you do not have the time zone control enabled schedule entry example time zone control not enabled how the time zone control works you can specify which time zone options appear whenever you encounter a date or time control on a form the date and time controls reflect the local date and time of the user the time zone control enables the user to select a specific time according to a specified time zone, while indicating the local time of the user for example, users can choose a time and a time zone (including standard and daylight savings times) from a drop down list the time zones are specified as they appear in the iana time zone database see working with dates, times, and time zones docid 5wbikekjggbtk efy2jmy choose a time and time zone at the same time, the local time of the user is automatically shown, so no conversions or mathematical calculations are needed to figure out time differences local time removing the existing time controls from the forms from the configuration console, click build > business objects to view the business objects workspace on the top right, click view all to view all business objects scroll down the list to the scheduleentry business object notice that it has five member business objects daily, hourly, weekly, monthly, and yearly select a member business object (such as scheduleentry dailyschedule) choose the forms tab two forms appear choose a form notice that the form contains time only controls schedule entry form remove the start time and end time controls click save repeat this procedure for all forms under each member object (scheduleentry dailyschedule, scheduleentry weeklyschedule, scheduleentry monthlyschedule, and scheduleentry yearlyschedule) activating the time zone control from the configuration console, click build > business objects to view the business objects workspace open the scheduleentry business object click the fields tab select the starttime field check time and time zone schedule entry field types click save repeat this process for the endtime field setting these fields automatically sets the time fields for the member objects schedule entry member objects placing the time zone controls onto the forms from the configuration console, click build > business objects to view the business objects workspace open a business object click the forms tab open a form drag the starttime and endtime controls onto the form where the former time only fields once were notice that the control now includes a container for time zone and a label for local time schedule entry example time zone enabled click save repeat this procedure for all forms under each member object (scheduleentry dailyschedule, scheduleentry weeklyschedule, scheduleentry monthlyschedule, and scheduleentry yearlyschedule) creating a workflow and associating a schedule entry you can create workflows and associate them with schedule entries by following one of the methods described below method 1 create the schedule entry and configure the settings as described in creating a schedule docid\ oly9b8ak4f7dbrbymcikf open the configure application by clicking the icon at the top right corner of the web interface select business objects form the menu on the left pane the business objects page is displayed search by keyword “schedule entry” in the find field and click the schedule entry business object the business object scheduleentry# page is displayed click workflows click add new workflow enter the following information in the fields field description business object a unique name for the workflow list name the list name for the workflow display name the display name of the business object description a short description about the workflow, such as workflow for scheduleentry click save click add version from the workflow record page make necessary selections for the workflow from the menu on the left pane the start and stop blocks of the workflow are mandatory, however there can be several workflow blocks between them the following example shows an email notification workflow block you must click the email notification block to configure the notification parameters click the configuration tab at the top of the workflow creation screen the workflow configuration page is displayed under trigger definition , select the schedule you want to associate with the workflow from the drop down list available in the use schedule definition field here, you are selecting the schedule entry to use as the entry condition click save publish the workflow by clicking the icon as shown you have now created the workflow you wish to run on your new schedule method 2 you can use this method to group workflows that are created for different business objects under a relationship follow steps 1 thorough 10 from method 1 docid\ oly9b8ak4f7dbrbymcikf open the configure application by clicking the icon at the top right corner of the web interface select business objects from the menu on the left pane the business objects page is displayed select a schedule entry business object click relationships click add new relationship and select the business objects from the list that is displayed make the necessary configuration in the relationship details page click add this relationship to include the business object to the relationship repeat steps 5 through 8 from method 1 docid\ oly9b8ak4f7dbrbymcikf to create a workflow select the start , stop and invoke workflow blocks from the menu on the left pane click the invoke workflow block and select the relationship name from the drop down list; the associated workflow names are populated click save click the configuration tab at the top of the workflow creation screen the workflow configuration page is displayed select the schedule entry from the list
