![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hi, I know I can share data between tasks in the file system (by saving / loading from a file). Can I also share data between tasks inside a variable? (setting in one task, using in another task) I'm trying to create a psuedo-global variable that is used in multiple software tests, each of which resides in a separate task. Then I will create a suite of test cases by calling the tasks from another task. thanks, clay |
| |||
| Hello, In that case, in first task let’s say source.atmn, you can assign value of variable to clipboard using ‘Assign To’ Clipboard command and in second task let’s say destination.atmn retrieve the value of that variable from clipboard using ‘Assign From’ Clipboard command. You can find Clipboard command under Miscellaneous Commands Categories. The sample task format of both tasks will look something like this: Source.atmn: Assign value of variable "$Prompt-Assignment$"to Clipboard Destination.atmn: Assign value of Clipboard to variable "$Prompt-Assignment$ You can also call destination.atmn from source.atmn. The value of $Prompt-Assignment$ variable in source.atmn will be retrieved in destination.atmn using clipboard. Hope that helps. |