---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# ValidateSingleEnd

# ValidateSingleEnd {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of ValidateSingleEnd

The ValidateSingleEnd validator in ServiceNow identifies workflows containing multiple End activities.
While having more than one End activity can be intentional and helpful for readability in large workflows, it can also indicate a design mistake that affects workflow execution.
Show full answer Show less  

## Key Features

* **Validation Outcome:** The validator issues a warning if multiple End activities exist and the execution paths to these Ends are not mutually exclusive.
* **Valid Result:** A workflow with a single End activity is considered valid.
* **Invalid Result:** A workflow with multiple End activities triggers an invalid result with a message indicating the count of Ends.
* **Suggested Action:** Remove any extraneous End activities not intended as part of the workflow design.
* **Publishable and Runnable:** Workflows flagged by this validator can still be published and run, but caution is advised.

## Key Outcomes

When a workflow encounters an End activity, it immediately completes, canceling any other executing activities. This behavior means:

* If multiple End activities exist on execution paths that are mutually exclusive, this design is safe and can improve workflow readability, especially in large workflows.
* If multiple End activities exist on execution paths that are not mutually exclusive, the first End reached cancels other activities prematurely, potentially causing unintended workflow termination.
* To avoid unintended cancellations, all activities expected to complete before workflow termination should converge at a Join activity leading to a single End.

## Practical Guidance for ServiceNow Customers

* Evaluate workflows with multiple End activities carefully to confirm if execution paths to Ends are mutually exclusive.
* Prefer using a single End activity when all parallel execution paths must complete before workflow termination.
* For complex workflows, using multiple Ends with mutually exclusive paths can enhance clarity and ease troubleshooting.
* To add an additional End activity, copy and paste the existing End activity onto the workflow canvas.  
The ValidateSingleEnd validator finds and identifies multiple
End activities in a single workflow.
Multiple End activities in a workflow might be intentional and have no
affect on the workflow, or might be a mistake that the designer needs to correct.

## Validation summary

* Risk: If the execution paths to the End activities are not mutually exclusive, then the first End encountered completes the workflow and cancels all other executing activities.
* Severity Level: Warning
* Valid Result: Valid
* Valid Message: This workflow contains 1 End activity.
* Invalid Result: Invalid Activity
* Invalid Message: This workflow contains \<count of ends\> End activities.
* Suggested Action: Remove extraneous End activities that are not intended as part of the design.
* Publishable: Yes
* Runnable: Yes
* Related Information: None

## Troubleshooting

As soon as an End activity is encountered in the workflow, the
workflow completes even if there are other viable execution paths leading to a second
End activity that is still executing. Those executing activities
are canceled as part of the End activity's clean up actions.
Therefore, the results of designing workflows with multiple Ends must
be carefully considered.

In the case of large workflows, it is often more intuitive to read the workflow when there
are multiple End activities. In the following example, the paths to
the two Ends are mutually exclusive execution paths. If this was a
large workflow, with many activities between Branch and the second
End, the value of the multiple ends becomes apparent. Tracing a
No response from User is invalid to a single
End behind 33 other activities would be significantly more
difficult. There is no risk in this workflow design because there is no reason for other
activities to execute if the End after the
Notification activity terminates the workflow.  
Figure 1. Mutually exclusive execution paths

The next example has multiple End activities in execution paths that
are not mutually exclusive. A Yes response from User is valid causes the Set Values activity to finish
immediately. By reaching its End activity first, this execution path
cancels the Approval for Apps and the DB Task
activities, which might not be the desired outcome. If the paths are all expected to
complete before End, the activities should come to a
Join (as in the previous example) that transitions to a single
End.  
Figure 2. Mutually inexclusive execution paths  
Note:  
To add the second End, right-click to copy the original End activity and paste it onto the canvas. In most cases, a single End is the best and most reliable way to ensure that all activities expected to execute prior to workflow completion, do so successfully.

