Hi,
your question is rather unclear, but I try to reformulate:
You have 2 environments: QA and PROD.
There is a deployment workflow that should operate on both of these environments.
When the workflow is executed on the QA environment, file A should be copied.
When the workflow is executed on the PROD environment, the file B should be copied.
If this is the case, this should NOT be done using a pre-condition.
I would set this up as follows:
In ARA, define a dynamic property on both environment objects in ARA (QA and PROD), say "/source/file_to_copy" and assign a value to them:
For QA: "/source/file_to_copy" = "file A"
For PROD: "/source/file_to_copy" = "file B"
On the component object within ARA, define a dynamic property called "/source/file_to_copy" (type: Expression) and assign the value "{@environment/source/file_to_copy}" to it.
In the respective component workflow, in the copy file action, go to the promptset and either type in "EXT:/source/file_to_copy" or use the variable picker ($x).
HTH,
Martin