Hard stop the bot

Which activity, I have to use in studio pro for hard stop the bot ?

1 Like

Hi @AnkitDwivedi You can force workflow to throw an error using Execute JS code with the following code: throw Error(“subprogram failed!”) /* just an example*/
image

1 Like

@Kudlappa_Gouder -let me try this

1 Like

Hi @AnkitDwivedi, Thank you for always getting in touch with us. Please check the Solution button once this is solved.