Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace not found custom nodes with scripted node #337

Open
cuzic4n opened this issue Dec 7, 2023 · 0 comments
Open

Replace not found custom nodes with scripted node #337

cuzic4n opened this issue Dec 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cuzic4n
Copy link
Contributor

cuzic4n commented Dec 7, 2023

I did worked on-prem and used many custom nodes i.e. HTMLMessageNode below. That env is long gone and I have a backup of the journeys from frodo sitting around. Now, I just want to see the journey and don't care about having HTMLMessageNode as part of my minikube deployment or my cloud enviroment... but when you import them it fails like seen below.

➜  frodo journey import -k --no-deps -f Login.journey.json cdk.example.com
Connected to https://cdk.example.com/am [/] as user amadmin
Importing first journey in file...
✔ Resolved all dependencies.
⠋ Importing panwLogin...{
  code: 404,
  reason: 'Not Found',
  message: "Resource 'HTMLMessageNode' not found"
}
✖ Error: Error importing inner node 1e5cd9d5-7327-4f03-bc9d-ed4ff06a1bc3 in journey Login

"Nodes are not that easily removed from journeys, as they are referenced by their preceding nodes and they reference nodes that their exits connect to. However, we could do a generic replacement of unknown nodes with a scripted decision node, for example. That’s what our S2S tool does. That way we can keep the tree itself intact and the number of exists and let the admin sort it out." - Volker
The scripted decision node name that replaces the failed custom node can reference that ‘not found HTMLMessageNode name’ to help spell it out to the admin.

@cuzic4n cuzic4n added the enhancement New feature or request label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant