I have a published project in the orchestrator, what I want is to copy this project folder, rename it, modify some things in the flow and publish it with another project name. But I get the following error:
Could not publish project. Entry point could not be found.
How could I reuse that project in a new one and be able to publish it with another name?
Iโd like to provide a bit more information as the referenced topic is originally from 2019 and a bit has changed since then.
Main key is defined in the project.json configuration file and can be altered by Right-clicking a xaml file and selecting Set as Main in the context menu, shown below. In doing so the โMainโ file will be bolded for the xaml that is set.
You also have the option of setting one or more xaml files as Entry Points. This provides the ability to have multiple starting points within a single package when defining the process(es) in Orchestrator.
Set as Main | Sets the selected .xaml file as Main in the project definition, meaning that the project execution starts with that file. There can only be one Main project file. The name of the file set as main appears in bold in the Project panel. Set as Main Sets the selected .xaml file as Main in the project definition, meaning that the project execution starts with that file. There can only be one Main project file. The name of the file set as main appears in bold in the Project panel.
Enable Entry Point | Marks the selected workflow file as an entry point for the process, making it possible to select it as the workflow to run first when using the Invoke Process and Run Parallel Process activities in other processes, or when starting a job from Orchestrator. Notes:
When a file is marked as an entry point, an arrow is displayed on the icon next to the file name .
Enabling a file that is ignored from publishing as an entry point sets the file as publishable.
Entry point The workflow file used to start the execution of the process. By default, the Main.xml file is set as the entry point. If your project contains multiple entry points, the one selected at process creation is displayed. Click here for details about the entry point.
Close the project in Studio. Copy the entire project folder. Open project.json in Notepad and change the project name. Open in Studio and publish. Now it publishes to a new package, and you can create a new process from it.