Orchestration activity designer

  • Release version: Yokohama
  • Updated January 30, 2025
  • 2 minutes to read
  • Summarize
    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 Orchestration activity designer

    The Orchestration activity designer in ServiceNow enables users with the appropriate roles (workflowadmin, activitycreator, workflowcreator) to build reusable, custom activities tailored to an organization’s business needs. These custom activities, known as activity elements, improve workflow efficiency by reducing the need for custom code and allowing better data flow management within workflows.

    Show full answer Show less

    Access to the activity designer requires activation of ServiceNow Orchestration, which includes numerous pre-defined reusable activities grouped into activity packs addressing specific business areas such as Active Directory, Azure AD, Exchange, Infoblox DDI, and PowerShell. Additional ServiceNow applications like Security Incident Response or Cloud Management maintain their own activity packs.

    Key Features

    • Reusable custom activities can be built and used across multiple workflows, enhancing modularity and reducing duplication.
    • Custom activities support upload and download via the ServiceNow Store, facilitating sharing and distribution.
    • They parse data from standard input formats and allow testing of input variables against target hosts or endpoints with payload inspection.
    • Automatic mapping of test payload values to output variables helps streamline activity configuration.
    • Activities share data through a databus, enabling well-defined inputs and outputs and facilitating communication across activities within a workflow.
    • Versioning support enables tracking and management of activity changes over time.
    • Custom activities run in their own scope, isolated from the workflow scope, enhancing stability and maintainability.
    • Activity elements minimize reliance on the scratchpad, which reduces complexity and potential issues in workflows.
    • Legacy core activities built with Activity Definitions have been migrated to the new Activity Designer architecture, supporting backward compatibility.

    Practical Considerations for ServiceNow Customers

    • Use the Orchestration activity designer to create custom, reusable workflow components that align with your organization’s specific processes.
    • Leverage pre-built activity packs or build your own to accelerate workflow development without deep coding expertise.
    • Manage credentials, connections, and aliases effectively to enable seamless integration with external applications and systems.
    • Publish custom activities for team use; initially, new activities are visible only to their creators but can be shared more widely.
    • Copy and reuse custom activities from the global scope to maintain consistency and reduce development effort across workflows.

    The Orchestration activity designer enables a user with either the workflow_admin or activity_creator and workflow_creator roles to construct reusable activities that suit an organization's business needs.

    Activities created by the activity designer offer the following advantages over core activities offered in previous releases:

    • Reuse custom activities in multiple workflows.
    • Upload and download custom activities from the ServiceNow Store.
    • Parse data from standard input formats.
    • Test input variables against a target host or endpoint and inspect the payload.
    • Automatically map values from a test payload to an activity's output variables.
    • Share data between activities.
    • View previous versions of an activity.

    Access to the activity designer requires activation of ServiceNow Orchestration. For instructions about managing transitions and conditions for all activities, see Workflow activities.

    Orchestration provides numerous pre-defined activities, which are reusable components that can be used in numerous workflows without having to understand the complexities of the underlying system. These activities are grouped into activity packs, which address specific business needs, such as: Active Directory, Azure AD, Exchange, Infoblox DDI, and PowerShell. There are other ServiceNow applications which provide and maintain their own separate activity packs, such as Security Incident Response, Cloud Management, or Release Automation.

    Customers can also build their own activities and activity packs. You can construct custom activities with a specified template through the Orchestration Activity Designer. Custom-built activities built with the Activity Designer are referred to as activity elements. Activity elements provide optimal operations, enable code reuse, and minimize the need to write code. They also enable you to follow the flow of data within a given workflow across orchestration activities. Incorporating activity elements limits the dependency on the scratchpad which reduces problems in complex workflows. Limit the use of core activities, like ‘Run Script’, unless you need direct access the scratchpad, for example, for a counter. Activity elements do not have direct access to the scratchpad. You can, however, pass scratchpad variables as inputs into your activities.

    Orchestration activities created by the activity designer:
    • Can be uploaded and shared in the ServiceNow App Store
    • Use the databus, which allows the activity to have well-defined inputs and outputs
    • Share data across activities within a workflow
    • Use versioning
    • Provide a consistent approach for activity development regardless protocol
    Note:
    Prior to the Fujirelease, activities were built with Activity Definitions. In Fuji, a new architecture was introduced using the Activity Designer. Orchestration Core activities, built originally as Activity Definitions, have been converted to use the new template format (Activity Elements) and the databus offered with the activity designer. Workflows in upgraded instances that use legacy activities continue to work normally.

    For instructions on using activities to construct a workflow, see Add an activity to a workflow.