im trying to create a button that deletes a record how can i do that?
n
NickSuite
03/18/2022, 8:04 PM
Why? The delete button is already there.
l
Livio
03/18/2022, 8:05 PM
because i want to delete item fulfillments only when status is picked
n
NickSuite
03/18/2022, 8:43 PM
You probably don't need a button for that but a validation check.
z
Zack
03/18/2022, 8:51 PM
A custom workflow action script that just does record.delete would do it. You could have it trigger based on a button and run as admin. Then you could make the native delete be not needed.
l
Livio
03/18/2022, 9:02 PM
@Zack thats exactly what i did but im getting an error. Can you help me out. Here is the error: Cannot read property "type" from undefined
Livio
03/18/2022, 9:12 PM
nevermind, i figured it - Thank you for your suggestions guys
👍 1
n
NElliott
03/22/2022, 10:35 AM
You could have hidden the delete button unless the criteria was met, might have been simpler to do in a UE script.