Skip to main content
Answer

How to pass a "List" from a child Task, back to the Parent task?

  • March 17, 2023
  • 3 replies
  • 115 views

interplan
Forum|alt.badge.img+7

 

Good Afternoon,

How to pass a "List" from a child Task, back to the Parent task?

This list will be created in a child task and, when returning from this task, in the Parent task, I have to present the created list.

Best answer by Shoeb Shk

Step 1 : Create a varaible with same naming convention in the parent & Child task as followed by best practices.

Step 2 : While creating the variable in child task mark it as output.

Step 3 : Now call the child task from your parent task and click the highlighted button as below

 

Step 4 : Now click apply and you have successfully passed the variable from your child bot to parent bot.

 

 

Happy Automation,

Shoeb Shk

3 replies

Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • March 18, 2023

@interplan 

Declare in your child bot the list as Use as output:

 

So, in your parent bot , mapping to a list variable from the child bot

Regards


Shoeb Shk
Forum|alt.badge.img+6
  • Navigator | Tier 3
  • Answer
  • March 18, 2023

Step 1 : Create a varaible with same naming convention in the parent & Child task as followed by best practices.

Step 2 : While creating the variable in child task mark it as output.

Step 3 : Now call the child task from your parent task and click the highlighted button as below

 

Step 4 : Now click apply and you have successfully passed the variable from your child bot to parent bot.

 

 

Happy Automation,

Shoeb Shk


interplan
Forum|alt.badge.img+7
  • Author
  • Navigator | Tier 3
  • March 27, 2023

Thanks a lot, Fellows