What is the difference between STOP command/statement and END command/statement?


1 Answers

Samantha Mitchell Profile
Stop command/statement is used when there is an error and workflow is terminated. End command/statement is used to mark the end of workflow.

  • End command/statement
The end command is necessary or mandatory in workflow, it also does not have input arguments. It just means the end or that the work has been completed. This is much different from the stop command/statement, which is described below. Understanding both helps you see the differences and the similarities of the two. It also helps one see why there are two different commands regarding the same program on a computer.

  • Stop command/statement
A stop command means there is an error that the user has encountered and the workflow process will be terminated. You may be familiar with this command if Windows or another program has stopped working on your computer. There is usually an error message that will appear saying the process is no longer working and that the program will be closed. As far as the mandatory options, Stop is not necessary for workflow but it is quite helpful. Stop cannot have any output arguments, but can have plenty of input arguments.

Stop command will appear as "in error" with regards to the workflow. This will make more sense if you study things such as computers, IT, and programming. There are various steps within the computer engineering world that can help you understand about the more difficult processes.
Workflow is certainly an entire process on its own when it comes to computers and how they work. It is best to start off with information about workflow before getting into details such as stop or end. Hopefully, the above has helped a little as an explanation regarding the differences of both concepts.

Answer Question