We are trying to use two operators in Define Variable operator. The documentation suggests we can apply multiple (up to 50) but when testing the second operator doesn’t work and gives error, so we are able to apply only one operator per variable.
We are trying to add 7 days to today ($.now()) and then use substring to extract the date part (MM-dd-yyyy).
I had to save workflow and step out of this action and comeback to it later and then the text boxes were gone but it was pretty confusing when trying to configure it.
One last thing, there is no option to delete an Operator if i don’t want to use it anymore. I had to delete the entire action and re-create it with just one operator to test my workflow.
How are you getting ($.now()) variable? When we try to put this is in define variable value we are getting error.Could you please help what we are missing here? We need to add certain days to current date.
Another way to get rid of those text boxes is just to set the dropdown of (Choose Variable/Value) to the one which actually has your value.
For example, if you are setting value in “Enter Value” field and extra textbox appeared just set it to “Enter Value” (Extra one will disappear). This way you don’t have to reload the page.
Looking into the issues. The first one will require two Operators for now. This is still beta so we plan to support these in a single operator in the future but for now you will need to use two operators for this type of operation:
We are planning our goal UX experience for this quarter so ideally it should be delivered by end of September. The problem is not necessarily chaining operators but going from a date formatted value ISO8601 to a string. We will support this as part of the goal experience but not in the initial operator.
Thank you. So in this case you have a string value that you are transforming in the 1st operator and in the second when you try to trim that string value the output is still empty “”?