Skip to content

Commit

Permalink
Merge pull request #631 from SSWConsulting/626_fix_in_office_range_query
Browse files Browse the repository at this point in the history
Fix in office range query
  • Loading branch information
AttackOnMorty authored Sep 13, 2023
2 parents 6e1dd19 + 7f00540 commit e6f88ef
Showing 1 changed file with 35 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,45 @@
]
},
{
"$kind": "Microsoft.SetProperties",
"$kind": "Microsoft.IfCondition",
"$designer": {
"id": "MfMu9M"
"id": "8ENn96"
},
"assignments": [
"condition": "=turn.isRangeQuery",
"actions": [
{
"property": "turn.startTime",
"value": "=coalesce(dialog.rawDateEntity.values[0].resolution[0].value, dialog.rawDateEntity.values[0].resolution[0].start) "
},
"$kind": "Microsoft.SetProperties",
"$designer": {
"id": "yXb8dn"
},
"assignments": [
{
"property": "turn.startTime",
"value": "=dialog.rawDateEntity.values[0].resolution[0].start"
},
{
"property": "turn.endTime",
"value": "=dialog.rawDateEntity.values[0].resolution[0].end"
}
]
}
],
"elseActions": [
{
"property": "turn.endTime",
"value": "=coalesce(dialog.rawDateEntity.values[0].resolution[0].end, addDays(formatDateTime(dialog.rawDateEntity.values[0].resolution[0].value), 1))"
"$kind": "Microsoft.SetProperties",
"$designer": {
"id": "ItUksJ"
},
"assignments": [
{
"property": "turn.startTime",
"value": "=dialog.rawDateEntity.values[0].resolution[0].value"
},
{
"property": "turn.endTime",
"value": "=addDays(formatDateTime(dialog.rawDateEntity.values[0].resolution[0].value), 1)"
}
]
}
]
},
Expand Down

0 comments on commit e6f88ef

Please sign in to comment.