You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

The JOC Cockpit offers use of favorites to populate a number of frequently used input fields:

  • Agent Names: Operating a larger number of Agents can make it hard to select from a long list. Favorites implement a shortlist of frequently used Agent Names.
  • Facets: In a number of places users can add regular expressions that are hard to memorize. Favorites implement access to the list of frequently used facets.

FEATURE AVAILABILITY STARTING FROM RELEASE 2.4.0

Where to apply Favorites?

Agent Names

Use with Assignment of Agents to Jobs

Agent Names specify Standalone Agents and Subagent Clusters that for example are

  • assigned a job in a workflow,
  • used when searching in the Configuration view,
  • used when searching in the Workflows view.

When assigning a job an Agent users can find a long list of available Agent Names like this:


Clicking the Filter by Favorites link limits display of Agent Names to entries from the favorites list:

Facets

Use with Order Variables

Users can specify facets for JS7 - Order Variables in a workflow to check that the characters used for values of variables when adding an order match a regular expression, for example a date.

  • In this example the first workflow variable business_date should be checked for input of a valid date.
  • The input field for the variable's default value offers the icon for facet input.


Clicking the facet icon brings forward the Facet Editor.

  • The regular expression for a business date looks complex which is particularly true for the below regular expression which checks the input format dd.mm.yyyy or dd-mm-yyyy and the number of days per month including consideration of leap years.
    • Find the regular expression for copy & paste:
    • ^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
  • Users wouldn't want to repeatedly type such long regular expressions. Instead they can use the below Add from Favorites link to copy the regular expression from the list of favorites.


When the workflow that declared the business_date variable is deployed then users have to type a valid date when adding an order:

Use with File Order Sources

One more example is use of a regular expression to specify a matching pattern for file paths of File Order Sources used with JS7 - File Watching.


The input field offers the Add From Favorites operation. When clicking the link then the list of favorite facets is displayed.


When selecting a favorite then its regular expression is added to the input field.

How to manage Favorites?

Location of Assignment

Favorites can be managed directly from the input field to which they are added. Assume the above example for adding a complex regular expression for a facet to check a business date.

Use with Agent Names

When selecting an Agent users can click the icon to add the Agent to the list of favorites:


If the selected Agent is available from the favorite list then this is indicated by the icon.

Use with Facets

Having typed the facet value just once users can click the icon to bring up a popup window that adds the current facet value to the list of favorites:


If existing facet values have previously been copied from favorites then this is indicated by the icon. Users can click the icon to update the favorite from the facet's current value. In addition, they can choose to remove the favorite leaving the current facet's value unchanged:


Adding or updating a favorite will push the favorite to the top of the favorite's list.

The same operations to manage favorites are available for Agent assignments.

User Profile

Favorites can be managed from the JS7 - Profiles - Favorite Management page.

This allows to

  • add, modify, delete favorites manually,
  • modify the ordering in which favorites are displayed,
  • share favorites with other users,
  • take-over favorites shared by other users.



  • No labels