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

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Manage workflow activity conditions

# Manage workflow
activity conditions {#t_ManageActivityConditions__mfq_ljs_3x}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Activities contain default conditions that determine which transitions are
followed.

## Vorbereitungen

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

For example, the Approval - User activity has two conditions,
Approved and Rejected.  
Abbildung : 1. Example of activity conditions ![]()

You can use a JavaScript condition check to create custom conditions on Core workflow activities. Custom activities do not support this feature.

## Prozedur

1. Right-click the activity and select Add Condition from the context menu.
2. In the New Workflow Condition dialog box, fill in the fields as appropriate (see table).  
   {#t_ManageActivityConditions__table_idk_3yx_3r__entry__2}

   | Field | Description |
   |-|-|
   | Name | The label that is displayed on the workflow. |
   | Activity | Name of the activity for which this condition is submitted. This value is populated automatically by the system. |
   | Short description | Brief description of this condition. |
   | Condition | A JavaScript condition check. The following variables are available: * current: Current record that the workflow is running against. * activity.result: Result value set by the activity upon completion. * activity: Workflow Executing Activity (wf_executing) record. Used for advanced condition checks. * activity.vars: Variables associated with the Workflow Executing Activity record. Used for advanced condition checks. {#t_ManageActivityConditions__ul_cyl_vpn_xs} |
   | Skip during generate | If selected, the [Generate activity](https://servicenow-prod.fluidtopics.net/UMK0XDyqBo0TNSPXIn2NIw "The Generate activity immediately creates task or approval records from any task or approval activities placed after the Generate activity in the workflow path. These pre-generated tasks and approvals start when the task and approval activities are reached during flow execution. This allows a task to have a set of associated pre-generated sequential tasks or approvals, but still require them to be completed in order.") does not follow this transition to generate approvals or tasks. |
   [Tabelle : 1. New Workflow Conditions form]

   {#t_ManageActivityConditions__table_idk_3yx_3r}
3. Click Submit.
4. To change the order in which conditions appear on the workflow activity, right-click the activity and select Reorder Conditions.  
   A dialog box appears, with a list of the available conditions.Abbildung : 2. List of conditions in the current activity
5. Drag the conditions to a new position in the list.
6. Click OK.

## Activity result value {#ariaid-title2}

The `result` value specified by an activity controls the condition
through which the activity transitions.
Use the `result` value as part of the Condition field
in the activity. For example, if the Condition field of an
Approval - User activity contains `activity.result ==
'rejected'`, the activity transitions through that condition when a rejection is
received from the approver. Result values are set in the Script field
of the activity definition.

