Support > Forums > OpenBots Studio > How to call sub obscript files in the main.obscript

How to call sub obscript files in the main.obscript

Lakshman Duggineni

  • Reporter
  • Calender Icon June 15,2021 at 12:29 PM

I'm creating two obscript files in one project. How to call that obscript files in main.obscript

This forum has 314 topics, 681 replies, and was last updated 12 days ago by Support Agent

Nataly Alvarado...

  • Participant
  • Calender Icon June 18,2021 at 2:11 PM

Hi Khrystyna,

thanks for reaching out to us. The issue mentioned above has been reported by some users in v1.5. The Run Task command throws an error when running it from Server, however, no issues are encountered when running it locally from Studio. Our dev team has already addressed the issue, and released a patch in the OpenBots site (v1.5.1). The new version includes fixes as well as new implementations.

Hope this helps!

Khrystyna Sarak...

  • Participant
  • Calender Icon June 18,2021 at 8:16 AM

Hi all I have an error regarding running tasks from Main.obscript When I run my project from Studio - it's Ok. But when I publish it and run locally - it throw an error: Error: System.MissingMethodException: Method not found: 'Serilog.Core.Logger OpenBots.Core.Model.EngineModel.EngineContext.get_EngineLogger()'. at OpenBots.Engine.AutomationEngineInstance.<ExecuteCommand>d__112.MoveNext()

Lakshman Duggineni

  • Participant
  • Calender Icon June 15,2021 at 1:41 PM

Thanks for the Help! @Pranita Waghmare

Pranita Waghmare

  • Participant
  • Calender Icon June 15,2021 at 1:08 PM

Hello Lakshman, We can use the 'Run Task' command present under the Task commands group.

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