So I have made a custom standard macro as per my need. That macro has a python tool that fetches data from the Cloud. When I call that macro into the workflow and run the workflow, it runs properly. The issue arises when I run two workflows with the same macro simultaneously.
Very unusual behavior occurs. Let's say I'm fetching table1 in workflow number 1 using my standard macro, and table 2 in workflow number 2 using the same macro. What happens is that workflow 2 throws an error which is as follows:
RuntimeError: Error creating the file " C:\Users\AppData\Local\Temp\Engine_3348_8e44062fd7924c478191425d277d1d82_\0328e956-f7d3-44fa-af6d-262d3ce5e43c\output_1.yxdb ": The process cannot access the file because it is being used by another process. (32)
and workflow 1 outputs the data of workflow 2.
What could be the issue?