I defined a global variable in my project.
Then I attempted to use such global variable in an invoked workflow having “Isolated” option switched ON.
I got error “Object reference not set to an instance of an object.”
Is this a bug or “feature”?
If “feature” can you update documentation accordingly to highlight this limitation?
This would be what I would consider intended and logical behaviour.
Isolated means in an entirely separate instance, so global variables correctly should not be available. It wouldnt make sense for them to be passed over to an isolated workflow.
What is making you want to run a workflow isolated?
Regarding documentation.
Its abit of a niche thing, so whilst I don’t disagree about it not being documented, do you think it should go in the global variables documentation?
(reason I ask is I am trying to get UiPath to improve things like this as an MVP, so its useful feedback)
I do not have any special business case for isolated workflow.
I spotted it when working on upgrade of my RPA framework where I am considering using global variable. In a test process used to verify the global variable functionality I have isolated workflow and there I found it doesn’t work.
I also tried to pass the global variable as workflow argument and it didn’t work neither.
A single line in Invoke Workflow documentation stating that global variables can’t be used in isolated workflow would be enough.
Fair, so you can fix it by not running it isolated then and its all good.
I find it weird it also couldnt be used to pass a value via the arguments but thats not so important.
I’ll try and add this to the pile of feedback I have for them regarding documentation as I recently got some insider traction on this issue and it seems to be being taken seriously.
Thanks!
Hahaha, well, is there any area of the documentation you dont think could be better explained? I feel like your statement could be aplied to most topics
Remebering the time I had to read the documentation gave me a PSD heheh But no doc is worse than the doc of the coded workflow. Really, that doc is not even formatted right.