Specifying the Working Week

By default, all date calculations in iProcess use a 5-day working week of Monday to Friday. However, if a procedure has the Use working days flag un-set, a 7-day working week is used instead for cases of that procedure.

Note: The Use working days flag is set in the Procedure Manager, on the Status tab of the Properties dialog box. For more information see “Use Working Days Flag” in TIBCO iProcess Modeler Procedure Management.

Line 5 ends with a 7-character string that defines the working week. There is one character for each day of the week, running from Sunday (on the left) to Saturday (on the right). Y indicates that the day is a working day, N indicates that it is a non-working day. The default entry specifies a working week of Monday to Friday, as shown .

%2d\%2d\%4d\/\%s%s %s, %s\dmy\wdmy\%2d:%2d\:\ AM\ PM\Week\NYYYYYN

You can edit this string to change the specification of the working week that iProcess uses when calculating dates (for procedures that have the Use working days flag set). For example, to specify a 5-day working week of Sunday to Thursday, with Friday and Saturday being non-working days, change line 5 to:

%2d\%2d\%4d\/\%s%s %s, %s\dmy\wdmy\%2d:%2d\:\ AM\ PM\Week\YYYYYNN

To specify a 6-day working week of Monday to Saturday, with Sunday being a non-working day, change line 5 to read:

%2d\%2d\%4d\/\%s%s %s, %s\dmy\wdmy\%2d:%2d\:\ AM\ PM\Week\NYYYYYY