Reputation: 1
I have a text area (multiline) field with approx 15-20 lines of text. e.g. this is some test text : true this is also some test text : false this is another test text : false this could be one more line of text : true
I want to remove the line for which the value is false.
Can I do this in workflow with field update or in code using trigger?
Upvotes: 0
Views: 1723
Reputation: 371
You could do this with a Flow that is triggered when the field is updated or you could do it in an apex trigger. I would suggest taking the Flow route as it is easier to maintain and you won't have to write tests for it. The principal of what you're trying to achieve in the Flow is laid out here you are just splitting by a colon rather than a space. Hope this helps
EDIT: I believe they are called flows or visual flows I am assuming you meant this instead of a workflow rule
Upvotes: 0