PSEC - Powershell Enhanced Capability
Version 1.2.1

Workflow Lib Facility

Description

This facility allows for several Workflows to share the same Task definition.

Each Workflow contains its own copy of the specific runtime files (such as the brief.json.txt file). They merely share the definitions and execution script file.

The environment setup by the Workflow with the Name-setup.psm file needs to be compatible with the requirements of the library Task definition.

A folder in the Workflow tasks folder needs to exist that matches the lib name. This allows for creation of the runtime files for the Task.

Lib Configuration

The environment variable PSEC_V4_LIB_DIR points to the library location.

For each lib component, a folder of the component name is created.

Let us suppose the lib component is LIB_COMP.

Thus, folder LIB_COMP exists.

Within folder LIB_COMP the following files exist.

LIB_COMP-lib.psm1

This file is of exactly the same format as the Task Execution Script.

LIB_COMP-help.md

This file is of exactly the same format as the Task help file. The PSEC - Markdown Usage page describes the format.

LIB_COMP-help.rtf

This is created or updated whenever the LIB_COMP-help.md is newer than the LIB_COMP-help.rtf file. Is is used to populate the WPf help panel.

LIB_COMP-libcfg.json

A JSON file that contains type and title parameters.

Here is an example

{
"type": "java",
"title": "Recycle Server"
}
PSEC - Powershell Enhanced Capability
1.2.1

Copyright © 2018-2021, 2022, Rexcel System Inc.

 

 

 

 

 

X