Versions Compared

Key

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

...

The JOC Cockpit offers use of favorites that can 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.

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 like this:

Image Added


Clicking the Filter by Favorites link limits 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 are used 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 Image Added icon for facet input.

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 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.

Image Added


When the workflow that declared 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

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.

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.



User Profile

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