Hello,
I updated my desktop designer to version 2024.2.1.14 and my custom formulas are not showing in the tools anymore. I am not getting any error message that could indicate the source of the problem. I checked the custom formulas xml file and it is installed in the correct location. The only thing I noticed is that the category name I have been using so far is not showing up among the function categories in tools like Multi-Row. I also tried changing the category name in the xml file to match one of the existing ones in the default functions list but it did not help.
I've been using these formulas since 2016 and I never had a problem when updating to new versions.
Please advise.
Thank you.
@Kaloust I'll log a ticket with support and let you know what I hear!
I have found a bad bug in error handling. 24.2 detects a problem that was previously undetected, that there is more than one function "S" and "N" declared. (in this case Digan.xml and MiscUtils.xml both define <Name>S</Name> There is a bug in handling the error, and it's hard to tell just what the program will do. This is a problem, but it is not the only problem here.
@ChrisK Thanks! I can't believe I had duplicate functions :) I've deleted the duplicates and I'm one step closer. Now the functions work when I run a workflow, but the expression editor still doesn't realize that any of the custom functions exist and throws an error. Again, everything appears to run ok, so it's not as big as an issue. In my picture you can see the error in the expression editor, but my results window is correct.
I am puzzled. I see your case working. Could it be you edited the .xml files but did not restart Designer? The Designer reads the files only once on startup, and won't notice changes.
@ChrisK good question, I restarted Designer. I even reduced the noise by just using the sample.xml which contains the formula SampleFormulaAddInFormula. Even with only 1 xml with 1 function, it still was giving a bogus error in the formula tool.
Thankfully the function still works as expected with no errors when run. I would have assumed it's just something about my setup, but it seems like @Kaloust and @flying008 were having the same experience as me.
Now I see it failing, in another run. I have an idea about the difference.