Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

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

  • Agent Names: operating Operating a large 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.

Favorites can be assigned and managed directly from a number of input fields, for example in the Configuration view, and they can be managed from JS7 - Profiles - Favorite Management.

Display feature availability
StartingFromRelease2.4.0

Where to apply Favorites

...

Agent Names

Use with Assignment of Agents to Jobs

Agent Names specify Standalone Agents and Subagent Clusters that are , 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 such as:

Image Added


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

Image Added

Facets

Use with Order Variables

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

  • In this example shown in the screenshot, the first workflow variable business_date should be checked for input of a valid date.
  • The Image Added icon can be used to insert the facet with the default variable value into the input field.

Image Added


Clicking the Image Added facet icon brings forward the Facet Editor.

  • The regular expression for a business date looks complex which is particularly true for the regular expression shown below, 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.

Image Added


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

Image Added

Use with File Order Sources

Regular expressions are used to specify a matching pattern for the file path of File Order Sources used with JS7 - File Watching.

Image Added


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

Image Added


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 Image Added icon to add the Agent to the list of favorites:

Image Added


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

Use with Facets

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

Image Added


The Image Added icon indicates if existing facet values have been previously copied from favorites. 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:

Image Added


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

The same favorite management operations are available for Agent assignments.

User Profile

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

This allows:

  • manual addition, modification and deletion of favorites,
  • modification of the order in which favorites are displayed,
  • sharing of favorites with other users,
  • take-over of favorites shared by other users.