close

Filter

loading table of contents...

Studio Developer Manual / Version 2010

Table Of Contents
7.22.1.1.1 Studio Server
Defining the Workflow Category

You have to define the process category of your workflow, either localization or publication. You have two ways to do so:

  1. Let the name of your workflow definition either end with *Translation or *Publication.

or

  1. Add the name of your new workflow definition to the translationProcessNames or publicationProcessNames beans for the corresponding workflow category. Example 7.85, “Add a new workflow with the name StudioThreeStepPublication to publicationProcessNames ” shows this for a new 3-step publication workflow.

    @Bean
    @Customize("publicationProcessNames")
    List<String> addThreeStepPublicationWorkflowName() {
      return List.of("StudioThreeStepPublication");
    }
    

    Example 7.85. Add a new workflow with the name StudioThreeStepPublication to publicationProcessNames


Enabling Notifications for Tasks

You can switch on Studio notifications for tasks of your new workflow when they appear in the Control Room workflow inbox. You do this via a Spring Java configuration in the application context of the Spring Boot app that acts as the User Changes application. This can be the Studio Server app itself (for example, in the in-memory setup), but typically it is the dedicated User Changes app.

  1. Customize the beans notificationsForTranslationWorkflowList or notificationsForPublicationWorkflowList for a translation or publication workflow, respectively. Example 7.86, “Enable notifications for new StudioThreeStepPublication workflow ” shows this for a new 3-step publication workflow.

    @Bean
    @Customize("notificationsForPublicationWorkflowList")
    List<String> addThreeStepPublicationWorkflowNotifications() {
      return List.of("StudioThreeStepPublication");
    }

    Example 7.86. Enable notifications for new StudioThreeStepPublication workflow


Search Results

Table Of Contents