Automation of Route Management Using Potion Lab

You can use Potion Lab to schedule create route by creating a potion with Route Management as an ingredient. Route Management can be only a resulting action.

Potion events are triggered when the data is indexed. When a user creates a potion ingredient, the object may be promoted to a different maturity state than the one selected in potion before indexing is completed. In such cases, the route is created based on the object's current maturity state.

For example, if the Frozen maturity state is selected in the potion operator, but the document is promoted to the Released maturity state before indexing, the route is created in the Released maturity state.

To avoid issues caused by indexing delays and ensure the route is created only in the intended maturity state, the conditional operator should be updated in the potion operator.

Create the required potion with:

  1. Potion Scheduler as a trigger to schedule the notification frequency.

    For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Potion Lab | Potion Lab | Potion Ingredients | Potion Services as an Ingredient

  2. Potion Operator as a resulting action as conditional operator.
  3. Create Route from Route Template as a resulting action to create a route.
For more information on creating a potion, see Social and Collaborative | Structured Collaboration & Collaborative Content | Potion Lab | Potion Lab | Working with Potions | Creating a Potion.

This page discusses:

Potion Lab and Route Management

You can create a potion in Potion Lab that uses Route Management as an ingredient. Route Management can be a resulting action.

As an Action

You can also select an event from another app to trigger an action in Route Management. Possible actions include push overdue task notifications, or create route from route template.

For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Potion Lab | Potion Lab | Potion Ingredients | Route Management as an Ingredient.

Example

Maturity State Change of Documents Trigger Route Creation

A potion is created with the following details:

When this happens: Potion Scheduler Then do that: Potion Operator Then do that: Route Management
When: Maturity changed Then: Conditional Operator Then: Create Route from Route Template
Maturity: Maturity state of a document
Note: If the In Work maturity state is selected, the potion scheduler is executed once the maturity state of a document is changed to In Work.
Content: Maturity changed: Document -
Who: User 1 or User Group Maturity: Maturity state of a document
Important: Ensure that the maturity state selected in the trigger event matches the maturity state used in the potion operator.
Template: Route Template
Title: begins with Potion Execution Status: Aborted or Failed Content: Document
Name: begins with - Credentials: Security Context or Collaborative Space

When the maturity state of document is changed. Thereafter, a route is created from the selected route template with the content as document and having credentials as selected collaborative space in potion. For example, if a specific security context is selected, the route is created in the corresponding collaborative space. If Collaborative Space is selected, the route is created in the same collaborative space where the content is created.

Notes:
  • Create route from route template when the maturity state of document changed is supported only for the Promote events and not demote.
  • When you add both the ingredients together, the route is created once the maturity state of a document is changed to the the specified state. Otherwise, the Potion is failed. You must add the Potion Operator first and then Route Management as action ingredients.

Content added to Bookmark Trigger Route Creation

A potion is created with the following details:

When this happens: Potion Scheduler Then do that: Potion Operator Then do that: Route Management
When: Bookmark Content added Then: Conditional Operator Then: Create Route from Route Template
Bookmark: Selected bookmark Content: Bookmark Content added -
- Type: Type as Document or Physical Product
Who: User 1 or User Group Maturity: Maturity state of a document or a physical product
Important: Ensure that the maturity state selected in the trigger event matches the maturity state used in the potion operator.
Template: Route Template
- Potion Execution Status: Aborted or Failed Content: Document
- - Credentials: Security Context or Collaborative Space

When the bookmark content is added. Thereafter, a route is created from the selected route template with the content as bookmark content and having credentials as selected collaborative space in potion. For example, if a specific security context is selected, the route is created in the corresponding collaborative space. If Collaborative Space is selected, the route is created in the same collaborative space where the content is created.

Notes:
  • If a bookmark is deleted after the content is added to it, the Potion is still triggered because the event occurred before the bookmark was deleted.
  • Potion is not executed for the default, document subtypes, such as Engineering Specification and Document Proxy, because event publishing does not consume events for the default subtypes.
  • Potion is not executed when content is added to a bookmark from the Collaboration and Approvals app.
  • If the template selected in a Potion definition is revised, the user must manually update the Potion to use the new revision of the template.
  • Changes to user group membership (members added or removed) are reflected after approximately 2 hours because Potion saves the cache for the user group.