Request for Help on Workflow Naming Issue
Hi all,
I’m looking for assistance with a challenge regarding our workflow management please.
Current Situation
Our workflows rely on an offline Excel file to pull additional fields. I currently use the ‘Extract Context Properties’ node to capture the workflow name and filter the Excel file based on this name.
The columns from the Excel file are then converted into variables for user selection in ‘Single Selection Widget’ nodes. All of this is contained in a Component which is inserted into each of our workflows.
Problem
This approach is not sustainable, as it depends on users keeping the workflow name unchanged.
For example, we have a workflow named “AT Data Sum Official v1,” but in the Excel file, it’s tagged as “AT Data Sum” (i.e. a base name excluding the version). I’ve implemented logic in my component to exclude text from “Official,” allowing the workflow name to match the Excel entry whilst also enabling us to mantain version copies.
Proposed Solutions so far
1.
Hardcoding Base Names: I could hardcode the base workflow name in a ‘table creator’ within each workflow. However, while this would prevent issues arising from renamed workflows, it requires developers to remember to update the table creator upon importing my component into EVERY workflow.
1.
Using Workflow Descriptions: I considered including the base name in the workflow description (similar to tags). However, it seems we cannot read the workflow description or tags within the workflow.
Help needed
Does anyone have ideas for a more robust solution? As more users engage with the workflows, the risk of renaming increases, and I’d like to minimize this issue.
Thank you for your help!
tp