Hello guys,
firstly I would like to apologize for the stupid name of this topic. I had no idea what to put there to be understandable.
Goal:
I have a workflow that fills the date when the checkbox next to it is clicked to true.
There are 3 checkboxes that are connected with the date next to them.
When I click on checkbox1, date1 is set. When I click on checkbox2, date2 is set. When I click on checkbox3, date3 is set.
Problem:
So far it is working as expected.
The only problem is that when I click on checkbox1, date1 is set and when I click on checkbox2, date2 is set but at the same time date1(which had value), is set to null with no reason.
Is there anything I missed? I have more workflows like this and none of those is setting the date to null when the checkbox is "unclicked". The only difference is that those workflows are separate for each date and now for the first time I tried to combine 3 workflows into one and I am facing this weird behavior.
Could someone please help me why it is now setting null to the dates that are already set when I am clicking on the checkbox that is connected with the other date?
Hopefully, it is understandable.
Cannot upload the video, please check the link https://www.veed.io/view/945b2292-d5...ue&panel=share
Condition:
Action:
Thanks a lot!
edit: Usually, when I want the workflow to remove the date when the checkbox is "unclicked" I have to put there action ifThen("unclicked", date = null)
But now it is doing this without any coding
firstly I would like to apologize for the stupid name of this topic. I had no idea what to put there to be understandable.
Goal:
I have a workflow that fills the date when the checkbox next to it is clicked to true.
There are 3 checkboxes that are connected with the date next to them.
When I click on checkbox1, date1 is set. When I click on checkbox2, date2 is set. When I click on checkbox3, date3 is set.
Problem:
So far it is working as expected.
The only problem is that when I click on checkbox1, date1 is set and when I click on checkbox2, date2 is set but at the same time date1(which had value), is set to null with no reason.
Is there anything I missed? I have more workflows like this and none of those is setting the date to null when the checkbox is "unclicked". The only difference is that those workflows are separate for each date and now for the first time I tried to combine 3 workflows into one and I am facing this weird behavior.
Could someone please help me why it is now setting null to the dates that are already set when I am clicking on the checkbox that is connected with the other date?
Hopefully, it is understandable.
Cannot upload the video, please check the link https://www.veed.io/view/945b2292-d5...ue&panel=share
Condition:
HTML Code:
(entity\isAttributeChanged('zaverecnaKontrolaZadostP1') && zaverecnaKontrolaZadostP1 == true) || (entity\isAttributeChanged('zaverecnaKontrolaProvedenaP1') && zaverecnaKontrolaProvedenaP1 == true) || (entity\isAttributeChanged('prevzate') && prevzate == true);
HTML Code:
ifThen(entity\isAttributeChanged('zaverecnaKontrolaZadostP1'), datumZadostKontrolaP1 = datetime\today()); ifThen(entity\isAttributeChanged('zaverecnaKontrolaProvedenaP1'), datumProvedenaKontrolaP1 = datetime\today()); ifThen(entity\isAttributeChanged('prevzate'), datumPrevzatiaTechOdd = datetime\today());
edit: Usually, when I want the workflow to remove the date when the checkbox is "unclicked" I have to put there action ifThen("unclicked", date = null)
But now it is doing this without any coding
Comment