Skip to content

Commit b9f4bac

Browse files
authored
Create README.md
1 parent 3ee846b commit b9f4bac

File tree

1 file changed

+14
-0
lines changed
  • Server-Side Components/Server Side/Dynamic Catalog Task Creation

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**Dynamic Catalog Task Generator**
2+
3+
This Script Include(Attached.js File) provides a flexible, maintainable way to create one or more Service Catalog Tasks (sc_task) on a Request Item (sc_req_item). Instead of relying on complex, branching logic within a single Workflow or Flow, this script determines which tasks to create based on the value selected by the user in a single variable on the catalog form.
4+
5+
This is a best practice for managing Service Catalogs because it:
6+
7+
**Centralizes Task Logic**: Keeps all task definitions (short descriptions, assignment groups, order) in one easy-to-read script.
8+
9+
**Improves Maintainability**: You only update this single script when task requirements change, not a sprawling visual flow.
10+
11+
**Increases Flow Reusability**: The core Flow/Workflow remains simple, focused only on calling this generator.
12+
13+
**Usage**
14+
This script is intended to be called from a Run Script action within a Flow Designer Flow

0 commit comments

Comments
 (0)