Support > Forums > OpenBots Studio > Managing data with arguments

Managing data with arguments

Alfredo Carbajal

  • Reporter
  • Calender Icon November 09,2022 at 6:12 PM

Good day, currently I'm trying to to a file exist check between 2 scrips but I'm struggling with the usage of arguments as the subject covered in the Academy only showed what they where but no actual code example of it, if anyone could assist me with how to use them to pass information between 2 files

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

Rushabh Arbat

  • Participant
  • Calender Icon November 10,2022 at 3:36 PM

Hi Alfredo Carbajal,

Thank you for sharing your query.

Please make sure that you are defining the arguments in the child script, under the Arguments pane. Assign the argument name, type and direction (in, out, in/out). Save the changes made to the child script before switching to Main (or parent script). On Main, use the Run Task command and select the child path script. After clicking the "Assign Argument" checkbox, it should generate the arguments saved on the child script.

You can refer https://academy.openbots.ai/automation-arguments-in-openbots-studio/

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