Deleting Current User Message

With the new responsive engine, is there any way you can use a custom workflow to delete someone’s message for example

Someone sends a message:
“Hi”

and then a system or a flagging system is able to flag this and delete automatically in a repeating group as such

There would be a filter system that would delete that message and would mute the user (which i have the muting part setup) but can’t seem to figure out how it would delete it.

I wrote this in a bad way, if you are failing to understand please do ask for a more in-detail explanation and I’ll provide! :slight_smile:

With the new responsive engine, is there any way you can use a custom workflow to delete someone’s message for example

I don’t see what this has to do with the new responsive engine… :thinking:

But yes, what you’ve described sounds very simple to do…

What part of it are you having difficulty with?

So whenever you try and get it to delete, you would usually get a ‘Current Cell’s MessageHandler’ for example whenever you try and get it to delete either inside you have to make it so a user has to click a actual icon and or button to actually get it to delete.

I think I understand it’s basically impossible to get it to do it outside of the repeating group.

I want it mainly so it automatically detects a ‘slur’ and deletes the message without any interaction having to be done.

I don’t see what this has to do with the new responsive engine…

It was like 4 am and I was drowsy so I wrote this message in a bit of a rush.

It really didn’t have anything to do with the new responsive engine so you are right.

Easiest would be to include the detection and deletion in the same workflow that creates messages.

I wouldn’t recommend deleting the actual message but to instead have a ‘yes/no’ field in the message data type to indicate that a message is “removed”.

Just have a condition in the text element displaying the message to display a placeholder (eg. Message Removed) if that message’s “Removed” field is yes.

So, basically change the text context by using a Data Variable?

Yep. Handle the filtering in the same workflow as message creation and use a data variable in the message data field to affect a text.