Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Setting a due date of an issue to a date outside of the company's business hours can cause confusions.

In the following use case the transition will be prevented if the issue's due date is not set accordingly.


Configuration

UI Steps

Include Page
DECADIS:_snip_my_schedule_calendar
DECADIS:_snip_my_schedule_calendar

UI Step

Add the Logical validator to the desired workflow transition. You might want to place it within the create transition to prevent the creation of the issue.


UI Step

Expression

Add the following expression:

Code Block
languagebash
linenumberstrue
withinCalendar({issue.dueDate}, "my_calendar", LOCAL)



UI Step

Error message

Optionally, enter an error message something like this:

Code Block
linenumberstrue
Unfortunately you're trying to execute this transition outside of our business hours.
Please try it again on:
Mon - Thu 08:00-15:00, 16:00-19:30
Fri 08:00-15:00.





Screenshots


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel in ("use-case-workflow","calendar-use-case") and ancestor in ("27066629","32215720")


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical validator

Logical condition

Parser functionswithinCalendar()
Label

Status
colourRed
titlestaff pick



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourYellow
titleReady for review
- needs screenshot and lang. review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged