Replies: 5 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
I think we can keep the directory structure, and it should be preferred. It won't be a "real" directory and as you say users would need a way of viewing the contents of the RPA files but I think this can be achieved with a new, quite simple UI component to explore the contents of the RPA files. I don't think I follow the deployment process described. It looks to me as if users would have to manually attach any additional files. I can see how this gets them into Zeebe, but don't understand how they can be referenced by scripts (or how the Worker would know which files are to be pulled out of Zeebe and written where with what path. I have half an idea around our RPA file format becoming a project container file, representing a virtual file system that the Modeler (and Worker) knows how to use. |
Beta Was this translation helpful? Give feedback.
-
The view inside of the RPA file is clear, it is basically a "project file" that contains all the relevant RPA files. What I meant is working with multiple projects that reference each other, it is harder if we bake everything into our
I have no complete solution for this yet, just wanted to bring up the solutions we used in C7. Basically, you could deploy complete directories as projects. Not necessarily from the modeler, but also directly via CMD. |
Beta Was this translation helpful? Give feedback.
-
Obviously this would require much more work on the Zeebe side, and might even be worse than doing the project file approach, just wanted to throw in alternatives we could consider for handling multiple files :) |
Beta Was this translation helpful? Give feedback.
-
@PhilippaC22 |
Beta Was this translation helpful? Give feedback.
-
I think our Robot script model of 1 script == 1 file might be introducing unnecessary and surprising inflexibility
to users' scripts.
The Robotframework documentation encourages organisation and DRY practices by introducing, early on, the concepts of
including other Robot files as resources
(usually for custom keyword definitions)
and
including local Python files as libraries.
It seems to be normal Robotframework practice (and therefore something which may be expected by our users) to be able
to use these to write stanzas similar to:
where this
.resource
file and this.py
file are local to the script referencing them.However, our current model where we expect a Robotframework script to exist in one single fully self-contained file
precludes both of these functionalities. While it is possible for users to encapsulate their Robotframework resources
or custom Python sources in a Python library that can be included in the extra-requirements, this is burdensome and
against the Robotframework conventions.
If the
RPAResource
were to allow an arbitrary Map of files, rather than just a singlescript
key, then in the simplecase we could embed supporting files, removing the single file limitation:
We can then use the existing LinkedResource behaviour to enable and promote resource re-use.
For instance, if we had two scripts that did different, unrelated jobs, but the target of both of those jobs was the
same application, then we could allow the users to name these sets of resources as new LinkedResources.
The shared resource set:
Re-using across different jobs:
Beta Was this translation helpful? Give feedback.
All reactions