Hi,
I have subprocesses and invoking them into the main xaml file, but from the past few days I have been facing an issue in it. In the Arguments (advanced editor) for the key the value is not getting read. There’s Collections{…} and while we click on it, it opens one more pop-up for key & value. And everytime I run the process I have to pass the value each time. Also it works only if we change the direction to In/Out.
How to solve this issue?
I have attached the images for a better understanding.
Thank you!
pass a variable directly instead of creating a collection…A variable will be retained but not the created collection
cheers
Click on the Plus icon and select Use Variable
to enter variable name directly.
Thanks,
Ashok
Hi anil,
I am not creating any collection, I have used variable only but everytime after saving the value needs to be entered again.
Hi Ashok,
Yes have been doing that, but every time I run the process, I have to repeat this selecting and enter variable.
Thank you!
Can you Re-add that activity or Upgrade/Downgrade UiPath.System.Activities Package
Regards,
if it is only for this specific xaml or activity replace and check
also if it persists in all then please let us know more details like the studio versions and package versions
cheers
Click on the + symbol of the Collection argument, then click on the open Expression Editor option. You can pass the Variable to it.
For First time you are able to see the variable when you open again the variable disappers but it persists when open the Expression Editor again.
I have tested many times, it’s working fine no need to pass variable for every run. If not works, just delete the invoke worklfow activity and readd again.
Hope it helps!!
It’s onetime activity for each Invoke Workflow activity. It will persist the values after you save the workflow.
Thanks,
Ashok
Hi Mahesh,
It did help me, it’s working.
Thank you!
It’s my pleasure… @Vijaylakshmi_2
Make my post mark as solution to close the loop, it will helpful for who are struggling with the same.
Happy Automation!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.