I need to save a fact (varchar)
And consume it in another workflow, but the version that I am using UiPath has no global variables.
Being a big project I can’t update.
Any idea of how can it be done?
Unfortunately no direct option.
You can have workarounds like storing the value you want to be available everywhere into a text file or excel if complex data.
Read the file whichever workflow requires the value and use it modify it for further process.
This is the only way.
Thanks,
Ashok ![]()
Is it a shame
, would you show me how would you please with a textfile? since it is a single number of 22 characters that I must keep
Here is sample
Workflow1:
Workflow2:
Output:

You can optimize by creating a workflow to read any desired text file into variable.
Sample Code:
Global Variable Sample.zip (4.5 KB)
Thanks,
Ashok ![]()
Storing it in an Asset would be much simpler.
And just adding to @postwick answer, if the number shouldn’t be seen by anyone, you can store it as a credential asset and use only the password field.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

