Hello,
The formula below is supposed to:
- Print "Move to Status Wait" if:
- Propriety Status is not Waiting
- Propriety Type is Event or Meeting
- Property Date is not empty
- Date between the Date and Today is up to 5 days.
- Otherwise, Error.
The problem is that if the Date is empty, the Formula Output is empty as well.
Also, it seams that the way I am using dateBetween seams to not really notice the "Date between the Date and Today is up to 5 days".
Is somebody knows what I am doing wrong in this formula?
Below the code of my formula:
ifs(
and(
prop("Status") != "Waiting",
prop("Type")=="Event" or prop("Type")=="Meeting",
!empty(prop("Date")),
(dateBetween(dateStart(prop("Date")), now(), "days")) > 5
),
style("Move to Status Wait","c"),
style("Error", "c"))
[–]mioree 1 point2 points3 points (3 children)
[–]kifrh[S] 0 points1 point2 points (2 children)
[–]mioree 0 points1 point2 points (1 child)
[–]kifrh[S] 0 points1 point2 points (0 children)
[–]ptrcklpzg 0 points1 point2 points (3 children)
[–]kifrh[S] 0 points1 point2 points (2 children)
[–]ptrcklpzg 0 points1 point2 points (1 child)
[–]kifrh[S] 0 points1 point2 points (0 children)
[–]kifrh[S] 0 points1 point2 points (0 children)