Hi,
I have a lot of code that I am trying to write in the expression editor.
After saving code is getting trimmed.
I am not sure if there is any limit on the number of characters that are allowed inside Expression Editor.
Code is getting trimmed starting from the yellow highlighted color.
Can someone advise on this? Thanks.
Discussion posts and replies are publicly visible
I would suggest you to move all your foreach logic inside expression rule. Pass your CDT data into your expression and use local variable to build your all foreach logic.
I would second this. You want to be able to unit test your expression rules as stand-alone objects and once you know they work, call them from the relevant object (in your case, the process model). You'll end up with a more robust solution and encounter fewer errors when testing.