Questions about Archy

Good morning everybody,

I'm studying about Archy and I have some questions
We work with two different organizations. One for development environment and the other for production.
The migration of flows between the two environments is a little complex, as the resources exist with the same name, but they have a different id, so we need to manually change some actions of the flow.

Would archy help with that? In the yaml file, there is no resource id but the name. If a dataaction exists with the same name in both environments, would archy be able to import the flow?

I'm running some tests with a simple flow, trying to go from one organization id to another, but the description of the error found doesn't help.

2021-07-08T13:59:52.450Z: An error occurred.
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.451Z: ************************************** *****************************************************
2021-07-08T13:59:52.451Z: Archy - Architect Yaml Flow Processor ver. 1.5.0 - Failure
2021-07-08T13:59:52.451Z: ************************************** *****************************************************
2021-07-08T13:59:52.451Z: DateTime: Thu Jul 08 2021 10:59:52 GMT-0300 (GMT-03:00)
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.451Z: Summary
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.451Z: Command: 'publish'
2021-07-08T13:59:52.451Z: not publishing the flow 'TEST' of type 'inboundcall' because it has validation errors.
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.451Z: Input YAML File: /home/march/Downloads/TESTE_v7-0.yaml
2021-07-08T13:59:52.451Z:
2021-07-08T13:59:52.452Z: Flow Name: 'TEST'
2021-07-08T13:59:52.452Z:
2021-07-08T13:59:52.452Z: ERROR - the flow has 1 error(s). (see above)
2021-07-08T13:59:52.452Z:
2021-07-08T13:59:52.452Z: error(s) encountered.
2021-07-08T13:59:52.452Z: - Architect Scripting errors will be listed above.
2021-07-08T13:59:52.452Z:
2021-07-08T13:59:52.452Z: Log: /home/marco/archy/archyHome/debug/archy-debug-2021-07-08T13.59.39.120Z.txt
2021-07-08T13:59:52.565Z: execution complete.
2021-07-08T13:59:52.566Z:
2021-07-08T13:59:52.566Z: exit code: 123
2021-07-08T13:59:52.566Z:
2021-07-08T13:59:52.566Z: ensureDirectoryExists - the directory '/home/marco/archy/archyHome/debug' exists.

in the debug file there is only the same message

Thanks

1 Like

Hi marcoflps,

Thanks for reaching out to us! Yes you are correct, Archy uses name lookups for resources for processing the YAML file. So as long as the names are the same between the two orgs for the data action, it will set them in each environment.

In regards to the error "not publishing the flow 'TEST' of type 'inboundcall' because it has validation errors." in your output, there should be some additional validation errors above where you started copying the output from. There should be a block in the output/debug file that says

------------------
Validation Results
------------------

and under that header is the different validation errors in your flow that are stopping it from being publishable.

Thanks,
Jon

1 Like

Hi @jon.vansteen,

the validation result field came empty and failed anyway. But I made another example and it worked well.

Thanks a lot for the help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.