Error in Terminate Workflow activity

I used in Terminate Workflow activity property exception is new exception.But I am using this if else condition not in try catch block.

Then what error you are getting?

I mention “end” in reason

You are using it in a invoke workflow ryt?

yes right

Can u share your workflow?

you can’t run this only run in server