Support > Forums > OpenBots Server > Publish scripts to orchestrator

Publish scripts to orchestrator

Thamali Jayaweera

  • Reporter
  • Calender Icon March 13,2023 at 12:32 PM

Hi Team,

Appreciate it if you could help us to check the following requirement.

Please note that, we're required to call child scripts in a Main Script which is in the Project Folder and the calling child scripts are placed in a separate folder. So, we would like to know that, is there a way to include these child scripts also in the same nuget file, when we publish the main project folder.

Thanks & Regards, Thamali Jayaweera.

This forum has 65 topics, 191 replies, and was last updated 2 months ago by Ghouse Shaik

Sahil Wadhwa

  • Participant
  • Calender Icon March 13,2023 at 9:21 PM

Hi Thamalij, ​ Please note that the nuget package created is the equivalent of zipping the project folder into a single file. This can only be done if the files are under the same project folder. ​ However, you can keep child scripts located in an external location, and the bot will be able to reference it. The only difference is that external child scripts will need the full path indicated in the Run Task commands, instead of relative path to ProjectPath.

The other alternative would be to make a copy of the external child script in the project folder.

Hope this helps!

You are not authorized to reply, please click here to login and add your reply to this topic.